In the recent div 3 and div 4 rounds, I keep getting hacked.
# | User | Rating |
---|---|---|
1 | tourist | 3751 |
2 | Benq | 3727 |
3 | cnnfls_csy | 3691 |
4 | Radewoosh | 3651 |
5 | jiangly | 3632 |
6 | orzdevinwang | 3559 |
7 | -0.5 | 3545 |
8 | inaFSTream | 3478 |
9 | fantasy | 3468 |
10 | Rebelz | 3415 |
# | User | Contrib. |
---|---|---|
1 | adamant | 178 |
2 | awoo | 167 |
3 | BledDest | 165 |
4 | Um_nik | 164 |
5 | maroonrk | 163 |
6 | SecondThread | 160 |
7 | nor | 157 |
8 | -is-this-fft- | 154 |
9 | kostka | 146 |
10 | Geothermal | 143 |
In the recent div 3 and div 4 rounds, I keep getting hacked.
Name |
---|
Avoid python.
If you must use python, use fast input and output using sys.stdin.readline and sys.stdout.write (or print only one result at the end).
Consider how your code works on the largest possible input case.
If your solution is taking close to the time limit, try to resubmit so that even if one solution gets hacked, the more efficient solution stays (definitely do this after solving all problems).
Submitting your recent hacked solution adding in
ACs in 326ms/2000 ms.
In problems with many testcases, calling
print
$$$T$$$ times, can be very slow, so it can be much faster to store all $$$T$$$ answers in an arrayout
and callonce at the end of your programs.
Stop submitting solutions xD
Cringe. Downvoted by all my accounts.
Solid. Upvoted by one of my accounts
It happened again, this time in C++ :(
You can use the following code to speed up cin and cout.
How ? I see you solved the 8 questions and global rank 4
Maybe before the TL changed.
I didn't notice this. What problem was it that had its TL changed ?
You can find the discussion here
Now, you've hacked the editorialist's solution itself.