QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#293084#7103. Red Black TreejcelinWA 1ms5832kbC++142.3kb2023-12-28 21:33:332023-12-28 21:33:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 5832kb

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:

0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 

result:

wrong answer 1st lines differ - expected: '4', found: '0 0 0 0 0 0 0 0 0 0 0 0 '