QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#176102#7103. Red Black Treeucup-team1523RE 0ms0kbC++179.4kb2023-09-11 10:49:432023-09-11 10:49:44

详细

Test #1:

score: 0
Dangerous Syscalls

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: