From cfb65a4c2d5b8be8675a0c85e93573f45dba7c93 Mon Sep 17 00:00:00 2001 From: yenru0 Date: Wed, 6 May 2026 18:19:34 +0900 Subject: [PATCH] complete jungol/1000.rs --- storage/jungol/rs/completed/1000.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 storage/jungol/rs/completed/1000.rs diff --git a/storage/jungol/rs/completed/1000.rs b/storage/jungol/rs/completed/1000.rs new file mode 100644 index 0000000..526a48b --- /dev/null +++ b/storage/jungol/rs/completed/1000.rs @@ -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::().unwrap()); + + let a = iter.next().unwrap(); + let b = iter.next().unwrap(); + + println!("{}", a + b); +} \ No newline at end of file