QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#124104#4635. Graph OperationnyctivoeWA 1ms3480kbC++232.5kb2023-07-14 08:01:412023-07-14 08:01:41

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3364kb

input:

4 2
1 2
3 4
1 3
2 4

output:

1
1 2 3 4

result:

ok n=4

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3480kb

input:

6 12
1 2
3 5
4 6
1 4
1 5
1 6
2 3
2 5
2 6
3 4
3 6
4 5
1 3
2 4
5 6
1 4
1 5
1 6
2 3
2 5
2 6
3 4
3 6
4 5

output:

2
3 5 4 6
1 2 3 4

result:

wrong answer a and c can't be adjacent!  round 1 : a,b,c,d = 3,5,4,6