proconio

Crates.ioproconio
lib.rsproconio
version0.5.0
sourcesrc
created_at2019-06-23 17:38:40.937027
updated_at2024-06-30 15:15:44.334531
descriptionEasy IO library for competitive programming
homepage
repositoryhttps://github.com/statiolake/proconio-rs
max_upload_size
id143027
size68,551
lake (statiolake)

documentation

README

proconio

crates.io docs.rs

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.

Commit count: 226

cargo fmt