QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#405260#5655. Train SplittingHuangHanShengWA 1ms3600kbC++20440b2024-05-05 15:33:202024-05-05 15:33:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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:

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

result:

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