EndlessCheng/codeforces-go is a comprehensive collection of competitive programming solutions and algorithm templates written in Go. The repository provides reusable implementations of data structures (e.g., segment trees, fenwick trees, treaps, suffix automata) and algorithms (e.g., Aho-Corasick, various math functions) in the copypasta directory. It also includes a test harness (main/testutil) for verifying solutions against sample inputs and outputs, along with code generators to automate test file creation. Each solution is typically a standalone Go program that reads from standard input and writes to standard output, following the typical format for online judge submissions. The repository is organized by problem source (LeetCode, Codeforces, AtCoder, etc.) and difficulty, making it a valuable reference for learning and practicing competitive programming.
OI-Wiki is a comprehensive, open-source knowledge base for competitive programming (Olympiad in Informatics, ICPC). It is primarily a static documentation site built with MkDocs, featuring thousands of pages covering algorithms, data structures, mathematics, and programming language tools. The codebase includes thousands of standalone C++/Python/Java code examples, each accompanied by test input/output files, which serve as verified implementations for educational purposes. While not a running application, the repository contains a sophisticated build pipeline (pre-build scripts, post-build HTML processing, custom linting) and extensive CI/CD workflows for testing code correctness and documentation quality. The architecture is that of a content management system with heavy emphasis on reproducible, modular examples. Its primary value lies in the curated collection of reusable algorithm templates and the infrastructure ensuring they remain correct across platforms.