complete 19303.rs
This commit is contained in:
13
storage/zeta/rs/completed/19303.rs
Normal file
13
storage/zeta/rs/completed/19303.rs
Normal 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 h = iter.next().unwrap();
|
||||||
|
|
||||||
|
println!("{}", a * h);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user