QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#217460#4818. Inverse Line GraphQiulyWA 0ms3792kbC++145.0kb2023-10-16 21:21:212023-10-16 21:21:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3792kb

input:

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

output:

Yes
6 5
1 3
1 2
3 4
3 5
2 6
Yes
2 1
1 2
Yes
3 2
1 2
2 3
Yes
4 3
1 2
2 3
2 4
No
Yes
7 5
1 2
2 5
4 6
4 7
3 4

result:

wrong answer wrong answer (there are 5 edges in the line graph of your graph, but expected 6 (test case 1)