QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#217429#4818. Inverse Line GraphQiulyWA 1ms4004kbC++145.2kb2023-10-16 20:56:402023-10-16 20:56:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 4004kb

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
3 1
1 2
4 3
5 3
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
6 5
1 2
2 3
3 4
3 5
4 6

result:

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