QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#405230#5655. Train SplittingZhaoZiLongWA 1ms3572kbC++201.5kb2024-05-05 14:34:342024-05-05 14:34:36

详细

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3572kb

input:

2
5 9
1 2
1 3
1 4
1 5
2 3
2 4
2 5
3 4
3 5
3 3
1 2
3 1
2 3

output:

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

result:

wrong answer colors 2 and 3 are not connected (test case 1)