QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#58755#3846. Link-Cut TreeZhangYiDeRE 0ms0kbPython3969b2022-10-27 16:05:312022-10-27 16:05:35

详细

Test #1:

score: 0
Runtime Error

input:

2
6 8
1 2
2 3
5 6
3 4
2 5
5 4
5 1
4 2
4 2
1 2
4 3

output:


result: