Phase 25Days 141-146

Competitive Programming Craft & Contest Mastery

Turn technique into rating: constructive, game theory, interactive, and a real contest routine

Phase Goal

Build a sustainable contest and upsolving routine; distinguish CodeChef stars from Codeforces titles and measure progress without promising a rating.

Progress

Day 141: Game theory

Day 142: Constructive algorithms

Day 143: Interactive & randomized problems

Day 144: Ad-hoc, math & observation problems

Day 145: Contest strategy & a sustainable rating practice

Day 146: Capstone — a self-run contest simulation

Capstone
Contest Simulation & Permanent CP Toolkit

Run a full timed virtual contest (a past Codeforces Div2 or CodeChef round), solve under contest rules, then upsolve every unsolved problem against editorials. Assemble a tested, reusable C++ template + snippet library covering every structure and algorithm in this course, plus a stress-testing harness and a personal pattern catalog.

  • A completed, self-scored virtual contest with a written post-mortem
  • Every unsolved problem upsolved with a clean, commented solution
  • A tested snippet library: fast I/O, DSU, Fenwick, segtree (+lazy), sieve, modpow/nCr, graph algos
  • A brute-force stress-testing harness that has caught at least one real bug
  • A weak-tag drilling plan targeted at the next rating band

Phase Complete!

After this phase, you'll be able to:

  • Game theory
  • Constructive algorithms
  • Interactive & randomized problems
  • Ad-hoc, math & observation problems
  • Contest strategy & a sustainable rating practice
  • Capstone — a self-run contest simulation

After Phase 25, explain a core invariant, reconstruct a solution after a delay, diagnose a bug, and solve one unlabelled variation. Repair a failed prerequisite before advancing; record help separately from independent work.