样例???

P6136 【模板】普通平衡树(数据加强版)

QwQ237 @ 2020-02-28 09:42:48

13
1 1
1 1
1 4
1 5
1 1
1 4
2 1
1 9
4 1
5 9
3 8
6 1
1 0

用普通平衡树(AC)跑这个数据,答案是5,容易看出是跟样例等价的,但是样例输出是6。

求大佬解释


by small_rubbish @ 2020-02-28 10:30:23

@QwQ237 come here


by Smile_Cindy @ 2020-02-28 10:32:08

@QwQ237

13
1 1
1 1
1 4
1 5
1 1
1 4

2 1
1 9
4 1
5 9
3 8
6 1
1 0
4 1
output:1
5 9
output:5
3 8
output:6
6 1
output:4

by Smile_Cindy @ 2020-02-28 10:32:51

@我谔谔 @QwQ237


by Smile_Cindy @ 2020-02-28 10:33:09

注意排名从一开始


上一页 |