QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#125439#5655. Train SplittingGuanYunchangWA 1ms3596kbC++11420b2023-07-16 18:23:382023-07-16 18:23:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

result:

wrong answer color 2 is connected (test case 2)