QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#31587#1812. Interesting Coloringlarryzhong#WA 3ms4100kbC++171.4kb2022-05-09 18:58:232022-05-09 18:58:25

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 4100kb

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

result:

ok accepted

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3984kb

input:

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

output:

2 1 1 3 1 4 2 8 9 1 1 12 13 14 15 
2 1 13
3 1 4 15
2 2 13
2 1 14
3 1 4 15
2 1 15
3 1 3 12
2 1 4
2 1 2
1 9
2 3 14
3 1 2 3
2 1 2
2 1 3
2 1 4

result:

wrong answer wrong answer, a path about edge10 does not exist