QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#512850#1163. Another Tree Queries ProblemHuangHanShengTL 0ms0kbC++111.7kb2024-08-10 16:04:312024-08-10 16:04:32

詳細信息

Test #1:

score: 0
Time Limit Exceeded

input:

5
4 2
2 5
1 5
1 3
5
2 2 4
3 4
2 1 5
2 5 5
3 2

output:


result: