QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#405645#3307. Query on a Tree 17yoy68TL 0ms0kbC++144.5kb2024-05-06 11:36:032024-05-06 11:36:03

详细

Test #1:

score: 0
Time Limit Exceeded

input:

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

output:


result: