QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#340499#4396. Assassinationucup-team2335#AC ✓206ms8808kbC++147.2kb2024-02-29 09:19:212024-02-29 09:19:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 206ms
memory: 8808kb

input:

9

3 2
1 2 1
2 3 2

3 3
1 2 2
1 3 1
2 3 1

4 6
1 2 1
1 3 1
1 4 1
2 3 1
2 4 1
3 4 1

5 10
1 2 1
1 3 1
1 4 1
1 5 1
2 3 1
2 4 1
2 5 1
3 4 1
3 5 1
4 5 1

8 14
1 2 1
1 3 1
2 3 2
2 4 2
2 5 2
3 4 2
3 5 2
4 5 2
1 6 2
1 7 2
1 8 2
6 7 2
6 8 2
7 8 2

8 14
1 2 1
1 3 1
2 3 1
2 4 1
2 5 1
3 4 1
3 5 1
4 5 1
1 6 1
1...

output:

1
1
3
4
2
2
8
3
1

result:

ok 9 lines