QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#125449#5655. Train SplittingMaMengQiWA 0ms3620kbC++11636b2023-07-16 18:27:242023-07-16 18:27:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3620kb

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

result:

wrong answer color 2 is connected (test case 1)