QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#41123#4396. AssassinationDianasDogWA 6ms10340kbC++143.3kb2022-07-27 22:44:082022-07-27 22:44:10

詳細信息

Test #1:

score: 0
Wrong Answer
time: 6ms
memory: 10340kb

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

result:

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