Блог пользователя NoCap09

Автор NoCap09, история, 15 месяцев назад, По-английски

If you've spent time on Codeforces, you've probably experienced these:

  1. Submitting and praying it’s not Wrong ans on test 2.
  2. Thinking you've solved problem C, but it’s TLE.
  3. Seeing "Pretests Passed" and celebrating too early.
  4. Getting a hack in Educational Round and feeling like a genius.
  5. Copy-pasting someone’s template and not understanding half of it.
  6. Checking rating updates like it’s stock market news.
  7. Getting -100 in a contest and swearing you’ll quit CP (but never do).
  8. Seeing Div 1 problems and wondering if they are even real.
  9. Hoping for an easy A but getting an implementation nightmare.
  10. Saying “just one more problem” and then realizing it’s 3 AM.

Which ones do you relate to? Drop your favorite Codeforces moment in the comments!

  • Проголосовать: нравится
  • +189
  • Проголосовать: не нравится

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +44 Проголосовать: не нравится

Reading a problem that's impossible to solve, then reading it again a year later and this time it's the easiest problem in the world

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +16 Проголосовать: не нравится

Newbies' bingo xd

»
15 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

11 . Correctly solving a problem and then getting an overflow error in contest and wondering where the heck it can be wrong

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

Don't forget about forgetting to MOD or not using long long.

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

the queue being so long you just assume AC and move to the next problem until you pogger consecutive WAs

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Defining a variable name too long/stupid and instead of changing it, go along with it and get hurt everytime you write it.

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится
  1. Getting hacked/FST by hash collision on map/set/dict.
  2. Try not to cry all over the comments section.
»
15 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Thinking reaching expert in 3 months is easy and not reaching even in a year.

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

The 3 one was a nightmare, and the 4 happened to me multiple times and I learnt that I would never use unordered map again.

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

bro i've had that one moment when I couldn't even solve a div 2 A....

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

do not ever use std::unordered_set, std::unordered_map

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I have lost count of how much I did 7

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

having trouble falling asleep after contests because you worry too much about losing rating points

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +27 Проголосовать: не нравится
  1. You are proud of solving a a hard problem in a large implementation, but the editorial solve the problem in 11 lines
»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится
»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +60 Проголосовать: не нравится

you solve one extra problem in a contests, feel like a genius, eagerly refresh the standings, seeing the rank falls lower

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +6 Проголосовать: не нравится

Submitting and praying it’s not Wrong ans on test 2.

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

The checking rating updates like it's stock market news is so real, cuz I'm glued to my laptop for the next two hours after a div.

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

seeing TIME LIMIT EXCEEDED on test #118 and you feel your head can boil an egg.

give up doing div.2 C and goto bed saying 'good game'.

»
15 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится +3 Проголосовать: не нравится

finally find out what've you died to, pasting your code seeing 'cloudflare check'.

waiting another 10 minutes to submit and die to another hack.

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +12 Проголосовать: не нравится

Passed Div 1+2 F1 and be very proud of myself until waking up the next day and found a FST on problem B.

»
15 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится +22 Проголосовать: не нравится

Wrong answer on test 2 and saw a bug, fixed it, got wrong answer on test 2, saw a bug, fixed it, got wrong answer on test 2 again.

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +12 Проголосовать: не нравится

Verifying you are human. This may take a few years.

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Experiencing all of these problems within three months is interesting

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

the no 8 is too real tbh and 9th omg hell nawh....

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

always using int instead of long long

»
15 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится +7 Проголосовать: не нравится

2 Won't happen if you understand your code and have a basic understanding of time complexity. It won't happen once you hit Pupil unless it's a close TLE situation which usually isn't the case till Div 2D (or maybe E as well).

3 Most of the edge cases are included in the pretests. Most likely if it's a failure, it's because of not knowing the worst case time complexity of your code. Most common reason is using unordered_map instead of map thinking it's O(1) and not knowing it can be hacked since it's worst case is O(n). Same happens for unordered_set. Most of pretest passed but hacked cases are TLEs happening because of this. Again this will stop if you actually understand the stuff you are using. Though on rare occasions an edge case gets you but then it's rare and usually because the setters overlooked a testcase to include in pretests. That's not you fault imo and quite a rare thing here.

5 I tried it once. Does more harm than help. Try making your own. It will be more flexible. Else if you copy, learn using it from the person you copied from first (the math template embedded in my main template in my submissions is taken from TLE Eliminators but they had a whole lecture on how to use it)

9 Well As usually have pretty less implementation. I feel they are more about visualization. If you know basic stl then and just visualize the problem instead of reading it, you will be able to come up with a solution pretty quickly in most of the cases. Just run a simulation in your head and then convert it to code.

Rest are pretty relatable :)

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

or when your correct submission fails, because you have defined mod = 10^9+7 and problem has weird mod XO

»
15 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Using unsigned long long as the type of the hashing table and getting WA on test $$$x$$$. ($$$x$$$ is a really big integer.)

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится +11 Проголосовать: не нравится

Wrong answer on pretest 2 is sad no doubt, but when you keep refreshing and refreshing and reach pretest 20 or so and you are just about to start celebrating and you get wrong answer on pretest 25 and you can’t debug it for the whole contest is worse

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Getting your browser checked every time you want to see someone's code.

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

For 1 I try doing reverse psychology like "c'mon just give me wrong answer already" and then when I actually get the result it's either "of course it got wrong answer" or "huh, it did NOT wrong answer"

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Real :)

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Falling into fake girl account trap set by your friends.