use text_io::read; mod graph; use graph::{ Graph }; // Manhattan fn h() { } fn dfs() { } fn main() { /* Input */ let N: u32 = read!(); let I: i32 = read!(); let size: usize = (N as f64 + 1.0).sqrt() as usize; let mut board: Vec> = Vec::new(); for i in 0..size { board.push(Vec::new()); for j in 0..size { board[i].push(read!()); } } let G: Graph = Graph::new(board, I as u32); }