Update template
parent
c7b599993c
commit
60af8bb695
14
src/main.rs
14
src/main.rs
|
@ -1,4 +1,16 @@
|
||||||
|
use std::fs;
|
||||||
|
|
||||||
fn main() {
|
use anyhow::Result;
|
||||||
|
use itertools::Itertools;
|
||||||
|
|
||||||
|
|
||||||
|
fn main() -> Result<()> {
|
||||||
|
let input = fs::read_to_string("input/0X.txt")?;
|
||||||
|
|
||||||
|
let lines: Vec<&str> = input
|
||||||
|
.split("\n")
|
||||||
|
.filter(|s| *s != "")
|
||||||
|
.collect_vec();
|
||||||
|
|
||||||
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue