QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#184938#7103. Red Black Treeucup-team487WA 2ms10624kbC++174.2kb2023-09-21 14:29:562023-09-21 14:29:56

详细

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 10624kb

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:

4
5
3
8
8
8
0

result:

wrong answer 5th lines differ - expected: '0', found: '8'