Crates.io | cp_tricks |
lib.rs | cp_tricks |
version | 0.1.0 |
source | src |
created_at | 2021-06-28 15:18:52.793761 |
updated_at | 2021-06-28 15:18:52.793761 |
description | Tricks for competitive programming. Do not use this crate. |
homepage | |
repository | |
max_upload_size | |
id | 415797 |
size | 7,799 |
input!
macro for any arbitrary inputs (Codeforces, Codechef requires this)Scanner
or UnsafeScanner
for parsing input on demanddbg!
is so handy, you can place it anywhere in the code, around a variable or even an expression, it outputs the value of expression to stderr. Great for debuggingdbg!
, when in doubt, pass the reference