Crate cp_tricks

Source
Expand description

§Tricks for competitive programming

Most used ones are

Macros§

input
input macro for parsing input from all CP platforms

Structs§

Scanner
UnsafeScanner

Functions§

copy_splice
Use splice or copy_from_slice for copying data from one vec to another
hashmap
Using entry in Hashmap for inplace manipulation
rand_c
Get random values without rand crate