Expand description
§Tricks for competitive programming
Most used ones are
- Macro input! for input parsing all at a time
- Scanner/UnsafeScanner for parsing on demand
Macros§
- input
inputmacro for parsing input from all CP platforms
Structs§
Functions§
- copy_
splice - Use
spliceorcopy_from_slicefor copying data from one vec to another - hashmap
- Using
entryin Hashmap for inplace manipulation - rand_c
- Get random values without
randcrate