Hello world! I recently solved 2022 problems on my Codeforces account! Since OSN 2026 is coming up, I want to share my strategy that I used during the Indonesian NOI 2022 (OSN 2022). This blog is primarily for OSN participants, but might be useful for those who have an upcoming OI contest, but still have a low rating.
Before that, I want to give some context about myself 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).
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] \lt = 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.
My strategy revolves around treating every subtask as a separate problem (I even submitted 5 different files for 5 different subtasks in the 2A problem). So, my goal is to get points for each subtask (not necessarily AC them).
And 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 found out there were at least 8 people better than me in said training camp.
So my suggestions are:
- If you can AC some 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. For example, start by thinking the $$$A[i] \lt = 1000$$$ subtask, so if you solve it, you automatically solve $$$A[i] \lt = 2$$$ subtask.
- Else you can use my strategy and solve each subtask separately (fun fact: in Indonesia, we call this as "nyampah"). It's really important to know what your skill range is, so try to have a 5 hour virtual contest with past OSN problems.
I hope this blog is useful! To OSN 2026 participants, good luck and have fun!




