QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#50763#4635. Graph OperationwlxhkkWA 3ms4052kbC++111.1kb2022-09-29 10:25:302022-09-29 10:25:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 1ms
memory: 4052kb

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:

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

result:

wrong answer Vertices must be distinct!