QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#59350#2543. Edges, Colors and MSTZhangYiDeWA 0ms3700kbC++2.7kb2022-10-29 13:43:582022-10-29 13:44:00

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3620kb

input:

4 5
1 2 0
2 3 1
3 4 1
2 4 0
1 3 1

output:

3 1 4 5 2 

result:

ok 5 number(s): "3 1 4 5 2"

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3700kb

input:

9 15
1 4 1
3 5 1
3 9 0
1 3 0
2 5 0
5 8 0
6 9 0
8 9 0
1 7 1
1 8 1
6 8 1
4 9 1
2 4 1
3 4 1
4 6 0

output:

4 6 3 5 8 10 12 13 0 9 11 1 7 2 14 

result:

wrong answer 1st numbers differ - expected: '1', found: '4'