Tip
You can use this pdf.js link to watch the commited pdf with working links, or this one to look at the current build.
The KIT teams have used this document for ICPC-style contests since roughly 2019. It consists of 25 pages of copy-pasteable C++ code and one extra page with a checklist for the practice session.
To make this document as useful as possible we try to (automatically) stress test all code in this repository. Nonetheless, not all code is tested and tests might not catch every bug. If you find a bug please open an issue. If you think code can be changed, improved or replaced also feel free to open an issue or make open a pull request.
The code in this repo has been accumulated over many years and the origin of the code is unfortunately unknown for most of the snippets. Even though much code is written from scratch, plenty of code has been copied from others and just adjusted to our coding style. Here is an (incomplete) list of resources that we use (besides those from previous versions):
- https://github.com/indy256/codelibrary
- https://github.com/spaghetti-source/algorithm
- https://github.com/kth-competitive-programming/kactl
- https://github.com/mzuenni/ContestReference/tree/master (2018-2019)
- https://github.com/pjungeblut/ChaosKITs (2016-2018)
- https://github.com/niklasb/contest-algos (2012-2016)