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.
| # | User | Rating |
|---|---|---|
| 1 | jiangly | 3810 |
| 2 | Benq | 3676 |
| 3 | Kevin114514 | 3655 |
| 4 | maroonrk | 3463 |
| 5 | strapple | 3390 |
| 6 | Um_nik | 3387 |
| 7 | tourist | 3384 |
| 8 | heuristica | 3322 |
| 9 | turmax | 3319 |
| 10 | jiangbowen | 3291 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 156 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | Um_nik | 144 |
| 5 | Errichto | 139 |
| 6 | adamant | 137 |
| 7 | AmShZ | 136 |
| 8 | BledDest | 132 |
| 8 | maroonrk | 132 |
| 10 | qwexd | 129 |
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.
| Name |
|---|



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