Competitive Programming

Competitive Programming Tips

See CP for general resources. These are personal tips for myself.

  1. Think before you code. And really be convinced that your code works.
    • I know the reason sometimes you start coding before you finish thinking is that you’re just like fck it, I’ll just figure it out as I go. However, I find that it is generally bad, because if you get the incorrect solution, you’ve just wasted time implementing an incorrect solution
    • Like sure, in the process of coding up the solution, it became more clear what the problem was about, but still
    • Like this was a pretty easy problem that you struggled with: https://codeforces.com/problemset/problem/1768/C
    • You started implementing a solution, but then, oh shit it doesn’t work