I have been seeing this used in people's codes and wondered what are the uses of this in Competitive Programming? I am genuinely curious.
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3845 |
2 | jiangly | 3707 |
3 | Benq | 3630 |
4 | orzdevinwang | 3573 |
5 | Geothermal | 3569 |
5 | cnnfls_csy | 3569 |
7 | jqdai0815 | 3532 |
8 | ecnerwala | 3501 |
9 | gyh20 | 3447 |
10 | Rebelz | 3409 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | maomao90 | 171 |
2 | adamant | 163 |
3 | awoo | 161 |
4 | nor | 152 |
5 | maroonrk | 151 |
5 | -is-this-fft- | 151 |
7 | TheScrasse | 148 |
8 | atcoder_official | 146 |
9 | Petr | 145 |
10 | pajenegod | 144 |
I have been seeing this used in people's codes and wondered what are the uses of this in Competitive Programming? I am genuinely curious.
Название |
---|
it forces your code to throw an exception if you have an input error. so for example, if you were reading a number up to $$$10^{18}$$$ into an
int
, it would cause your code to get an RTE instead of WA. it helps to figure out what's wrong when you get a WA verdict vs. an RTE.Can you share link to the submission?
Look at one of lightseba or thetrickster10's submission. 93733091, 94253219