QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#35510#1812. Interesting ColoringHuangHanShengWA 3ms4304kbC++173.7kb2022-06-16 15:32:082022-06-16 15:32:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 4304kb

input:

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

output:

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

result:

wrong output format Expected integer, but "!" found