QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#406027#5655. Train SplittingHuangHanShengWA 1ms3588kbC++231.1kb2024-05-06 19:00:392024-05-06 19:00:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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:

2
2 2 1 2 2 1 2 1 2 
3
2 3 3 

result:

wrong answer color 3 is connected (test case 2)