求助为何厌氧

P3369 【模板】普通平衡树

怎么在偷卷?
by TernaryTree @ 2024-03-01 22:56:13


~~捉一个野生 register int 大佬~~
by __ryp__ @ 2024-03-01 22:56:23


```cpp .cpp:65:17: runtime error: member call on null pointer of type 'struct node' .cpp:66:22: runtime error: member call on null pointer of type 'struct node' .cpp:25:14: runtime error: member call on null pointer of type 'struct node' .cpp:25:26: runtime error: member call on null pointer of type 'struct node' .cpp:25:26: runtime error: member call on null pointer of type 'struct node' .cpp:25:26: runtime error: member call on null pointer of type 'struct node' .cpp:25:14: runtime error: member call on null pointer of type 'struct node' ```
by yukimianyan @ 2024-03-01 22:58:05


指针版这么短?
by 幸存者 @ 2024-03-01 22:59:42


fsanitize 查出来的全是空指针调用。
by yukimianyan @ 2024-03-01 23:00:21


@[Register_int](/user/406941) ```cpp if (this) return s; ``` <https://stackoverflow.com/a/8842985> **`this` can never be null**
by Argvchs @ 2024-03-01 23:10:43


@[Argvchs](/user/533270) 这么牛。
by Register_int @ 2024-03-02 06:52:04


|