QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#232293#7103. Red Black Treeucup-team2108TL 0ms0kbC++141.7kb2023-10-30 09:35:162023-10-30 09:35:17

详细

Test #1:

score: 0
Time Limit Exceeded

input:

2
12 2 4
1 9
1 2 1
2 3 4
3 4 3
3 5 2
2 6 2
6 7 1
6 8 2
2 9 5
9 10 2
9 11 3
1 12 10
3 3 7 8
4 4 5 7 8
4 7 8 10 11
3 4 5 12
3 2 3
1 2
1 2 1
1 3 1
1 1
2 1 2
3 1 2 3

output:


result: