@[SSerxhs](/user/29826)
by Leap_Frog @ 2021-04-16 10:06:11
upd : 现在第二篇题解也有 UB ![](//xn--9zr.tk/fad)
by Leap_Frog @ 2021-04-16 10:14:30
Orz xtw![](//啧.tk/se)
by Mophie @ 2021-04-16 10:15:25
第二篇题解 UB 信息:
```
tj.cpp:73:60: runtime error: index -1 out of bounds for type 'int [40]'
```
第一篇题解 UB 信息:
```
tj.cpp:68:47: runtime error: index -1 out of bounds for type 'int [300100]'
```
第三篇题解 UB 信息:
```
tj.cpp:62:45: runtime error: index -1 out of bounds for type 'long long int [300010]'
```
by Leap_Frog @ 2021-04-16 10:18:04
我人傻了
by DPair @ 2021-04-16 10:23:03
我人傻了
by Leap_Frog @ 2021-04-16 10:23:43
@[Leap_Frog](/user/44805) 为什么我加不了那个编译指令啊/dk
by tommy0221 @ 2021-04-16 10:30:57
>我人傻了
by _Clown_ @ 2021-04-16 10:31:51
@[tommy0221](/user/123384) `g++ ???.cpp -o ??? -Wall --fs-fsanitize=undefined,address`
只知道 Ubuntu 肯定可行 ![](//xn--9zr.tk/wq)
by Leap_Frog @ 2021-04-16 10:34:48
草全挂/qiang
by Mophie @ 2021-04-16 10:36:26