Crates.io | proconio |
lib.rs | proconio |
version | 0.5.0 |
source | src |
created_at | 2019-06-23 17:38:40.937027 |
updated_at | 2024-06-30 15:15:44.334531 |
description | Easy IO library for competitive programming |
homepage | |
repository | https://github.com/statiolake/proconio-rs |
max_upload_size | |
id | 143027 |
size | 68,551 |
Easy IO library for competitive programming.
proconio
provides an easy way to read values from stdin (or other source). The main is input!
macro.
The macro's user interface is basically the same with tanakh's input macro.
use proconio::input;
input! {
n: u8,
m: u32,
l: i32,
}
// now you can use n, m and l as variable.
println!("{} {} {}", n, m, l);
For more details, see documentation.