NoCap09's blog

By NoCap09, history, 15 months ago, In English

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!

  • Vote: I like it
  • +189
  • Vote: I do not like it

| Write comment?
»
15 months ago, hide # |
 
Vote: I like it +44 Vote: I do not like it

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 months ago, hide # ^ |
     
    Vote: I like it +61 Vote: I do not like it

    Oh, and, of course, solving a problem in 10 minutes, then waiting for another 10 for Cloudflare to be convinced you're not a robot

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Solving a problem in 1 hour, then asking yourself "That's so easy, why I didn't solve it in 10 minutes??".

»
15 months ago, hide # |
 
Vote: I like it +16 Vote: I do not like it

Newbies' bingo xd

»
15 months ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

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

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Then, find the issue and lost the Internet.

    Then, checked the Internet and failed the cloudflare.

»
15 months ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it +13 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it +2 Vote: I do not like it
  1. Getting hacked/FST by hash collision on map/set/dict.
  2. Try not to cry all over the comments section.
»
15 months ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I have lost count of how much I did 7

»
15 months ago, hide # |
 
Vote: I like it +13 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it +27 Vote: I do not like it
  1. You are proud of solving a a hard problem in a large implementation, but the editorial solve the problem in 11 lines
»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it
»
15 months ago, hide # |
 
Vote: I like it +60 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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 months ago, hide # |
Rev. 2  
Vote: I like it +3 Vote: I do not like it

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 months ago, hide # |
 
Vote: I like it +12 Vote: I do not like it

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 months ago, hide # |
Rev. 2  
Vote: I like it +22 Vote: I do not like it

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 months ago, hide # |
 
Vote: I like it +12 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Experiencing all of these problems within three months is interesting

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

always using int instead of long long

»
15 months ago, hide # |
Rev. 2  
Vote: I like it +7 Vote: I do not like it

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 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +1 Vote: I do not like it

    i recently had the opposite situation. the problem had a mod of 10^9 + 7, but i defined mod = 998244353

»
15 months ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it +11 Vote: I do not like it

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 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Real :)

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Falling into fake girl account trap set by your friends.