QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#235954#7327. Median on Binary TreehouzhiyuanWA 22ms3816kbC++141.3kb2023-11-03 13:57:382023-11-03 13:57:39

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3816kb

input:

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

output:

5 2 2 1 1 
10 9 5 4 4 3 3 2 2 1 

result:

ok 15 numbers

Test #2:

score: -100
Wrong Answer
time: 22ms
memory: 3620kb

input:

10
4 10 7 9 5 3 1 2 6 8
10
7 10 2 4 9 8 3 1 5 6
10
1 5 8 3 6 7 2 4 10 9
10
7 9 3 6 2 1 10 5 4 8
10
7 1 9 2 4 5 3 6 8 10
10
2 7 5 9 10 3 1 4 8 6
10
9 8 1 2 6 10 5 4 3 7
10
3 6 1 9 10 8 2 7 4 5
10
7 3 8 10 4 1 5 2 6 9
10
6 10 7 5 2 9 1 4 3 8
10
6 8 5 10 9 4 2 1 3 7
10
4 3 5 9 1 2 8 7 10 6
10
7 5 10 8 ...

output:

10 9 6 6 5 5 4 4 3 2 
10 9 7 6 6 4 4 3 2 2 
10 7 5 5 4 3 3 3 2 1 
10 7 6 5 5 4 4 4 3 3 
10 7 5 4 4 3 2 2 2 1 
10 8 7 7 6 6 5 4 4 4 
10 8 6 6 5 3 2 2 2 1 
10 7 6 6 5 5 4 4 4 3 
10 7 6 5 4 4 3 3 2 2 
10 7 6 6 5 4 4 3 3 3 
10 8 8 7 6 6 5 4 3 3 
10 9 7 5 4 4 3 3 2 1 
10 9 7 6 5 5 4 4 3 2 
10 7 6 5 5 4 4...

result:

wrong answer 4th numbers differ - expected: '5', found: '6'