QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#140452#5545. Contingency Planchenchi#WA 3ms9960kbC++202.5kb2023-08-15 22:53:232023-08-15 22:53:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

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

result:

ok AC

Test #2:

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

input:

3
1 2
2 3

output:

1 3
1 2

result:

wrong answer expected -1