# | User | Rating |
---|---|---|
1 | tourist | 3947 |
2 | jiangly | 3734 |
3 | Radewoosh | 3646 |
4 | jqdai0815 | 3620 |
4 | Benq | 3620 |
6 | orzdevinwang | 3612 |
7 | ecnerwala | 3581 |
8 | Geothermal | 3569 |
8 | cnnfls_csy | 3569 |
10 | ksun48 | 3479 |
# | User | Contrib. |
---|---|---|
1 | awoo | 162 |
2 | maomao90 | 160 |
3 | nor | 156 |
3 | cry | 156 |
5 | atcoder_official | 155 |
5 | -is-this-fft- | 155 |
7 | maroonrk | 154 |
7 | adamant | 154 |
9 | Petr | 146 |
10 | djm03178 | 145 |
Name |
---|
Because accessing an out of bounds index is Undefined Behavior. In my computer it does not show any error, and probably in another computer it shows error with int and long long. If you want to avoid this kind of bugs you can compile with GCC adding flag
-D_GLIBCXX_DEBUG
. Note that this does not show errors on C arrays.