diff --git a/storage/zeta/rs/1000.rs b/storage/zeta/rs/1000.rs deleted file mode 100644 index 2ed1473..0000000 --- a/storage/zeta/rs/1000.rs +++ /dev/null @@ -1,6 +0,0 @@ -use std::io; - -fn main() { - let mut n = - io::stdin().read_line( ) -} \ No newline at end of file diff --git a/storage/zeta/rs/completed/1000.rs b/storage/zeta/rs/completed/1000.rs new file mode 100644 index 0000000..041dcc1 --- /dev/null +++ b/storage/zeta/rs/completed/1000.rs @@ -0,0 +1,12 @@ +use std::io; + +fn main() { + let mut line = String::new(); + io::stdin().read_line(&mut line).unwrap(); + let arr: Vec = line + .trim() + .split(' ') + .map(|x| x.parse::().unwrap()) + .collect(); + println!("{}", arr[0] + arr[1]); +}