Skip to content
CP4CPP/doc.root:doc #doc_competitive_programming_handbook#role
Theme

doc - Competitive Programming Handbook

Role

cp4cpp.com/doc is the Competitive Programming Handbook.

It is the canonical final form for reusable competitive-programming knowledge: algorithms, data structures, proofs, implementations, variants, and references.

Mermaid previewMermaid preview
Annotation previewAnnotation preview
Code previewCode preview
Highlighter previewHighlighter preview
Diagram previewDiagram preview

Purpose

  • Teach how algorithms, data structures, and patterns work through structured technical articles.
  • Combine code, diagrams, annotations, and visual blocks into readable handbook pages.
  • Turn scattered editorials into cleaner, reusable, long-term references.

Lineage

ProjectMeaningTimeForm
ACESAll-encompassing Competitive Editorial SlayerMar 2023MkDocs Material on es.ac.vn
ESEditorial SlayerNov 2020LQDOJ / VNOJ
HATHunter and TracerDec 2022Discord

References

ShortProjectUse
CP-ALGOCP-AlgorithmsGenerated algorithm docs and code references.
KACTLKTH Algorithm Competition Template LibraryICPC copy-paste team reference.
ACLAtCoder LibraryOfficial contest library docs from AtCoder.
OI-WIKIOI WikiMaintained OI/ICPC wiki.
PEG-WIKIProgramming Enrichment GroupOlder wiki-style CP explanations.
CSES-BOOKCompetitive Programmer’s HandbookClassical handbook and problemset with learning intent.

Learning Style

BFS-like learning: users jump by topic for coverage, lookup, variants, and references without needing a fixed prerequisite path.

Strengths To Preserve

  • Static docs are familiar, trusted, easy to revisit, and cheap to preserve.
  • Strong handbook projects offer breadth, reusable implementations, and problem-set coupling.
  • Docs scale when structure and contribution flow are consistent.

Weaknesses To Fix

  • Docs often explain what a thing is, but not when to learn it, what comes before it, or what to solve after it.
  • Topic relations, prerequisites, and variant links are usually shallow or writer-dependent.
  • Article quality drifts without review rules.

CP4CPP Rules

  • Each problem should use the tag hierarchy for consistent taxonomy and navigation.
  • Each page must include practice problems and references to related blogs or wikis.
  • doc is the canonical final form of knowledge; edu handles teaching order.
  • Handbook pages should connect to neighboring topics and must not behave as isolated islands.