Crate algorist

Source
Expand description

Algorithms and data structures for competitive programming.

There are numerous algorithms and data structures that can be useful in competitive programming.

ModuleDescription
ioInput/output helpers, including Scanner for reading input and Writer for writing output.
mathMathematical algorithms, such as number factorization, primality tests, GCD, modular arithmetic, etc.
extExtensions to standard library types.
collectionsAdditional collections like 2D-arrays, trees, graphs etc.
miscMiscellaneous 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 the Writer and wln macro.
math
Mathematical utilities.
misc
Miscellaneous utilities.

Macros§

as_primitive_impl
as_primitive_unsigned_impl
as_value_impl
downcast_impl
impl_int_root_signed
impl_int_root_unsigned
integer_impl
ma
modulo_alias_impl
modulo_impl
one_impl
upcast_impl
value_impl
wln_impl
A macro for writing a line with formatted output.
zero_impl