QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#41124#4396. AssassinationDianasDogWA 266ms18200kbC++143.3kb2022-07-27 22:45:382022-07-27 22:45:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 266ms
memory: 18200kb

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
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 7 1
1 8 1
6 7 1
6 8 1
7 8 1
3
8
3
1

result:

wrong answer 6th lines differ - expected: '2', found: '1 2 1'