library_checker/sample/
aplusb.rs

1use competitive::prelude::*;
2
3#[verify::library_checker("aplusb")]
4pub fn aplusb(reader: impl Read, mut writer: impl Write) {
5    let s = read_all_unchecked(reader);
6    let mut scanner = Scanner::new(&s);
7    scan!(scanner, a, b);
8    writeln!(writer, "{}", a + b).ok();
9}