data-algo-competitive
Data-Algo-Competitive: Competitive Programming Template Library
Specialized branch of data-algo for competitive programming (CP). Provides battle-tested C++ templates for ICPC, OI (Olympiad in Informatics), Codeforces, AtCoder, and similar contest environments. Every template is optimized for contest conditions: minimal code, fast compilation, and correct edge-case handling.
Where data-algo covers general algorithm selection and data-algo-social handles production pipelines, data-algo-competitive focuses on the ~80 advanced patterns that appear repeatedly in contest problems but rarely in application code. Templates here are C++ (the dominant contest language) and kept to 30 lines or fewer of core logic.
Language Adaptation
Inherited from data-algo. All explanations match the user's language. Technical terms (algorithm names, Big-O notation, code identifiers) stay in English regardless.
CP-specific Chinese mappings (use when user writes in Chinese):