QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#246874#5545. Contingency PlanGuanYunchangWA 0ms3604kbC++177.5kb2023-11-11 11:23:322023-11-11 11:23:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3604kb

input:

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

output:

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

result:

ok AC

Test #2:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

3
1 2
2 3

output:

-1

result:

ok AC

Test #3:

score: 0
Accepted
time: 0ms
memory: 3532kb

input:

2
2 1

output:

-1

result:

ok AC

Test #4:

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

input:

5
2 1
2 3
2 4
4 5

output:

-1

result:

wrong output format Unexpected end of file - int32 expected