complete jungol/1000.rs

This commit is contained in:
yenru0 committed 2026-05-06 18:19:34 +09:00
1 parent 8f0ec6cead
commit cfb65a4c2d
1 file changed
+13
+13
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);
}