QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#217416#4818. Inverse Line GraphQiulyWA 1ms3720kbC++145.1kb2023-10-16 20:44:352023-10-16 20:44:36

詳細信息

Test #1:

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

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

result:

wrong answer wrong answer (there are 2 edges in the line graph of your graph, but expected 3 (test case 4)