Hello world! I recently solved 2022 problems on my Codeforces account, and to celebrate I want to share my strategy that I used during the Indonesian NOI 2022 (OSN 2022).
Before that, I want to give some context coming up to the OSN. I already learned all of the syllabus (segment tree, DSU, dijkstra, etc), but could only consistently solve ~1600 rated problems (I wasn't even expert back then). So this blog might be useful for those who have an upcoming OI contest, but still have a low rating.
My strategy is as follows:
Read the statement for 5 mins. Understand the sample and scribble some new cases for 5 mins. Think and implement the very easy subtask for 10 mins. Consequently, I'm able to avoid misunderstanding the statement. I also make sure to note ideas for the other easy subtasks. Repeat for problem B and C.
Think about the easy subtasks and implement them for 10 mins. Think longer to find an observation. If I find one, I immediately implement to get the N^3, or N^2, or A[i] <= 1000 subtasks. This usually takes 20-30 mins. If not, I move on to other problems.
After I get about 30 points for each problem, I think longer on the problem I feel is the easiest or the problem which I got the least points.
I treat every subtask as a separate problem. I even submitted 5 different files for 2A. My philosophy is for every subtask that I have an idea, I'm able to solve.
And somehow unexpectedly, I got rank 3 for day 1 (so I used the same strategy for day 2) and got rank 1 for the OSN. I wasn't expecting it since 2 months prior to the OSN, I joined a training camp. And at that time there were at least 8 people better than me.
Strategy is really important in any competition.
- If you can AC past OSN problems without help, you should try to think longer on the problems and try to AC them.
- If you can get a high score on past OSN problems, but struggle to AC, try to "merge the subtasks" and solve them that way.
- Else you can use my strategy and solve each subtask separately (in Indonesia, we call this as "nyampah").




