Registry / utility / proconio

proconio

JSON →
library0.5.0rscratesunverified

Easy IO library for competitive programming in Rust.

# Cargo.toml [dependencies] proconio = "0.5.0"
INSTALL
IMPORT
SIG · PROCONIO
P
proconio
utilityrustv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

input
use proconio::input;

Read an integer n and a list of n integers from standard input, then print their sum.

use proconio::input; fn main() { input! { n: usize, a: [i32; n], } println!("Sum: {}", a.iter().sum::<i32>()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
proconio — cargo add proconio · libregistry