Files
CodeObject/storage/zeta/rs/31700.rs
2026-04-27 10:21:50 +09:00

15 lines
370 B
Rust

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 h = iter.next().unwrap();
let w = iter.next().unwrap();
let n = iter.next().unwrap();
let ds = (0..n).map(|_| iter.next().unwrap()).collect::<Vec<_>>();
}