Solutions for 2022, as well as 2015-2018 and 2019 up to day 11
This commit is contained in:
commit
1895197c49
722 changed files with 375457 additions and 0 deletions
11
2022/main.rs
Normal file
11
2022/main.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
use std::fs;
|
||||
|
||||
fn read_file(path: &str) -> String {
|
||||
fs::read_to_string(path)
|
||||
.expect("File not Found")
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let contents = read_file("sample_input");
|
||||
//let contents = read_file("input");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue