Expand description
Algorithms and data structures for competitive programming.
There are numerous algorithms and data structures that can be useful in competitive programming.
Module | Description |
---|---|
io | Input/output helpers, including Scanner for reading input and Writer for writing output. |
math | Mathematical algorithms, such as number factorization, primality tests, GCD, modular arithmetic, etc. |
ext | Extensions to standard library types. |
collections | Additional collections like 2D-arrays, trees, graphs etc. |
misc | Miscellaneous algorithms and data structures, not fitting into other categories. |
Modules§
- collections
- Various collections that are not part of the standard library.
- ext
- Extensions to the standard library types.
- io
- This module features utilities for reading input using the
Scanner
, and writing output using theWriter
andwln
macro. - math
- Mathematical utilities.
- misc
- Miscellaneous utilities.