23 releases

0.5.0 Jun 30, 2024
0.4.5 Jun 22, 2023
0.4.3 Apr 21, 2021
0.4.2 Mar 21, 2021
0.3.0 Jul 6, 2019

#264 in Command-line interface

Download history 1453/week @ 2024-12-14 1016/week @ 2024-12-21 1144/week @ 2024-12-28 1162/week @ 2025-01-04 2302/week @ 2025-01-11 1421/week @ 2025-01-18 750/week @ 2025-01-25 1760/week @ 2025-02-01 1821/week @ 2025-02-08 1041/week @ 2025-02-15 1667/week @ 2025-02-22 1248/week @ 2025-03-01 1637/week @ 2025-03-08 2008/week @ 2025-03-15 2030/week @ 2025-03-22 1264/week @ 2025-03-29

7,243 downloads per month
Used in 8 crates

MIT/Apache

61KB
854 lines

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.

Dependencies

~230KB