[][src]Crate comp_input

Input library for competitive programming.

Example: reading a graph given as an edge list

#[macro_use]
extern crate comp_input;

fn main() {
    input! {
        n, m: usize,
        edges: [(usize1, usize1); m]
    }
}

Macros

input
read_one

Structs

FormattedRead

Traits

FromAscii