complete jungol/1000.rs

This commit is contained in:
2026-05-06 18:19:34 +09:00
parent 8f0ec6cead
commit cfb65a4c2d

View File

@@ -0,0 +1,13 @@
use std::io::{read_to_string, stdin};
fn main() {
let temp = read_to_string(stdin()).unwrap();
let mut iter = temp
.split_ascii_whitespace()
.map(|x| x.parse::<usize>().unwrap());
let a = iter.next().unwrap();
let b = iter.next().unwrap();
println!("{}", a + b);
}