QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#41122#4396. AssassinationDianasDogWA 296ms17916kbC++143.2kb2022-07-27 22:36:112022-07-27 22:36:12

详细

Test #1:

score: 0
Wrong Answer
time: 296ms
memory: 17916kb

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

result:

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