ICPC Breadth And Implementation 01¶
This pack is for ICPC-style breadth plus implementation stability: banker-first ordering, one-machine realism, and a late slot that still punishes sloppy code.
Who This Is For¶
Use this pack if:
- standard contest-core families already feel familiar in isolation
- you want one session that tests opening order, switching, and code reliability together
- your main misses are no longer “I have never seen this,” but “I mis-prioritized it” or “the implementation leaked”
Entry Gate¶
Try this pack only if these already feel like review:
If slot 5 still feels shaky, treat it as the late implementation slot rather than the first target.
Pack Shape¶
- Type:
ICPC breadth + implementation drill - Topic mix:
Graphs + strings + DP + data structures - Problems:
5 - Suggested time:
3-4 hours
Topics Under Test¶
- recognizing the safest banker quickly
- switching from compact banker solves into medium graph and DP slots without losing machine tempo
- keeping machine time on the cleanest current solve
- protecting accepted checkpoints before reviving the late implementation slot
Suggested Order¶
| Slot | Problem | Topic | Why it is here |
|---|---|---|---|
| 1 | Message Route | BFS + reconstruction |
First banker: low setup cost, quick graph read, and one clean path-certification loop. |
| 2 | String Matching | KMP |
Second banker: compact linear implementation and a very different modeling surface from slot 1. |
| 3 | Road Reparation | MST / DSU |
Medium graph slot where the key is not mistaking MST for shortest-path thinking. |
| 4 | Book Shop | Knapsack DP |
Forces a mental reset into state/iteration discipline after two graph-facing slots. |
| 5 | Dynamic Range Sum Queries | Segment tree |
Late implementation slot: simple idea, but one indexing or interval mistake can still sink the session. |
How To Run It¶
- spend
15-20 minuteson a real opening triage before writing code - fill one short board with:
- banker / medium / investment
- owner
- machine priority
- bailout minute
- solve in the suggested order unless the triage board gives a concrete reason to swap two adjacent slots
- after each slot, decide
bank / hand off / park, not just “keep poking it” - if one slot stalls for about
20-25 minuteswith no localized bug or invariant, park it and move
Allowed Refreshers¶
- Contest Checklist
- Graph cheatsheet
- Data structures cheatsheet
- DP cheatsheet
- String cheatsheet
- Build Kit
Debrief¶
After the pack, log:
- first triage mistake
- first machine-usage mistake
- first implementation leak that cost real time
- whether slot
5died from fatigue, weak retrieval, or interval/index discipline - the slot that should become your next focused ladder revisit
Go Back Next¶
- if slot
1was weak, revisit BFS / DFS ladder - if slot
2was weak, revisit KMP ladder - if slot
3was weak, revisit MST ladder - if slot
4was weak, revisit Knapsack Family ladder - if slot
5was weak, revisit Segment Tree ladder - if the whole pack felt structurally bad, reopen ICPC Playbook