complete 19303.rs
This commit is contained in:
1 parent
28edf84238
commit
bed3cbc8fe
1 file changed
+13
@@ -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