QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#31589#1812. Interesting Coloringlarryzhong#WA 2ms4344kbC++171.7kb2022-05-09 19:11:232022-05-09 19:11:24

詳細信息

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 4344kb

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:

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

result:

wrong answer Integer 9 violates the range [1, 8]