📅 Contest Day Mastery
The difference between solving 3 problems and 4 problems is rarely skill—it’s strategy, focus, and energy management. This chapter gives you the complete playbook for contest day.☀️ Pre-Contest Routine (2 Hours Before)
The Warm-Up Protocol
Pre-Contest Checklist
1
Physical Preparation (2 hours before)
- Light meal (avoid heavy food—blood goes to digestion, not brain)
- Hydrate well (dehydration = slower thinking)
- 10 minutes of light movement (walk, stretch)
- Bathroom break (nothing worse than urgency during problem D)
2
Technical Setup (1 hour before)
- Open your template in VS Code
- Test compile: make sure everything works
- Open Codeforces/contest page
- Clear browser cache if needed
- Close ALL other tabs and apps
- Phone on silent, face down
3
Mental Preparation (30 minutes before)
- Solve 2 easy warm-up problems
- Review your cheat sheet / templates
- Take 3 deep breaths
- Positive self-talk: “I’ve prepared. I’ll do my best.”
4
Final 5 Minutes
- Refresh contest page
- Have water bottle ready
- Clear your desk
- Set a timer visible on screen
- Focus. Breathe. Begin.
⏱️ Live Contest Strategy
The First 5 Minutes
Time Allocation Strategy
| Rating Target | Problem A | Problem B | Problem C | Problem D | Problem E |
|---|---|---|---|---|---|
| Specialist (1400) | 10 min | 20 min | 40 min | 50 min | - |
| Expert (1600) | 8 min | 15 min | 30 min | 40 min | 27 min |
| Candidate Master | 5 min | 10 min | 20 min | 35 min | 40 min |
Problem Selection During Contest
Adaptive Strategy
When Stuck on C
- Read problem D and E
- Sometimes D is easier than C for YOUR skill set
- Getting D before C is perfectly valid
- Don’t let problem order limit you
When Everything Seems Hard
- Take 30 seconds, close eyes, breathe
- Go back to the easiest unsolved problem
- Simplify: solve for n=1, n=2, n=3
- Sometimes panic blinds you to simple solutions
🕐 Time Management Tactics
The Pomodoro for CP
When to Submit vs When to Test More
The Last 10 Minutes
🐛 Dealing with WA During Contest
The WA Response Protocol
1
Don't Panic (10 seconds)
Take a breath. WA is normal. Even tourists get WA.
2
Check the Obvious (30 seconds)
- Integer overflow?
- Array bounds?
- Wrong data type (int vs long long)?
- Output format (newline at end)?
3
Trace Sample Case (1 minute)
- Does your code produce correct output for samples?
- If not, debug with samples first
- If yes, your logic might be wrong on edge cases
4
Generate Edge Cases (2 minutes)
- n = 1 (minimum size)
- All same elements
- All different elements
- Maximum values
- Sorted / reverse sorted input
5
Stress Test (if time permits)
- Generate random small inputs
- Compare with brute force
- Find the failing case
Common WA Causes (Quick Checklist)
💓 Energy & Focus Management
The Focus Curve
Micro-Recovery Techniques
The 20-20-20 Rule
Every 20 minutes, look at something 20 feet away for 20 seconds. Prevents eye strain and mental fatigue.
Box Breathing
When stressed: Breathe in 4s → Hold 4s → Out 4s → Hold 4s. Resets your nervous system.
Shoulder Rolls
3 forward, 3 backward. Releases tension that builds up during intense focus.
Water Sips
Small sips every 20-30 minutes. Dehydration reduces cognitive performance by 10%+.
🌙 Post-Contest Protocol
Immediate Post-Contest (First 30 minutes)
1
Cool Down (5 minutes)
- Stand up, stretch, walk around
- Drink water
- Let the adrenaline fade
2
Quick Reflection (10 minutes)
Write answers to:
- What went well?
- What could be better?
- Any patterns in my mistakes?
3
Read Editorial (15 minutes)
- Don’t code yet, just understand
- Focus on problems you attempted but didn’t solve
- Note any new techniques
Upsolving Schedule
The Mistake Journal Entry
After each contest, fill this template:🏆 Contest Day Mental Game
Pre-Contest Affirmations
Read these before every contest:During Contest Self-Talk
When Stuck
“This is normal. Take a breath. Try a different approach.”
When Behind
“Others don’t matter. I focus on MY best performance.”
After WA
“Good catch. Now I know what to fix. Let’s debug.”
When Tired
“20 more minutes. I can do this. Stay present.”
📈 Virtual Contest Protocol
Making Virtuals Count
Virtual Contest Rules
Ideal Virtual Contest Schedule
| Day | Activity |
|---|---|
| Monday | Virtual contest (old Div2) |
| Tuesday | Upsolve virtual + practice |
| Wednesday | Practice weak topics |
| Thursday | Virtual contest (old Div2) |
| Friday | Upsolve + review |
| Saturday | RATED contest (if available) |
| Sunday | Rest / light practice |