萌新求助,fhq treap 0分

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

真的不知道哪错了 救救孩子吧
by after_the_end @ 2020-08-11 18:42:49


1. split函数没有返回值,写的是个int类型…… 2. pre和nxt函数中merge前面没有root=…… 改了应该就过了
by 陈浩然 @ 2020-08-11 19:45:57


@[after_the_end](/user/181566)
by 陈浩然 @ 2020-08-11 19:47:56


@[陈浩然](/user/249339) 太感谢了。
by after_the_end @ 2020-08-11 20:01:47


不谢不谢啦,都有需要帮助的时候啦
by 陈浩然 @ 2020-08-11 20:04:37


不过我也是真的无语
by after_the_end @ 2020-08-11 20:28:55


这错误程序能过这道题[P3369 【模板】普通平衡树](https://www.luogu.com.cn/problem/P3369)
by after_the_end @ 2020-08-11 20:30:07


|