Compare commits
No commits in common. "61ef345ff38ba1597f3e0a962668fa3c7924062e" and "cd250ddd352748660bcfd2ad79a91ed3595246d7" have entirely different histories.
61ef345ff3
...
cd250ddd35
|
|
@ -1,19 +1,11 @@
|
|||
# IDE Config folders
|
||||
**/.vscode
|
||||
**/.idea
|
||||
.vs/
|
||||
# Java compilation output?
|
||||
**/debug/
|
||||
**/target/
|
||||
**/*rs.bk
|
||||
**/.vsidx
|
||||
**/.suo
|
||||
# C# compilation output
|
||||
debug/
|
||||
bin/
|
||||
obj/
|
||||
# The game inputs will be in .txt
|
||||
**/obj
|
||||
**/bin
|
||||
**/.vs
|
||||
*.txt
|
||||
# Cargo compilation output
|
||||
debug/
|
||||
target/
|
||||
# Rust fmt stuff
|
||||
**/*.rs.bk
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
mod day1;
|
||||
|
||||
fn main() {
|
||||
day1::run_day1()
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -3,5 +3,5 @@
|
|||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "advent_of_code"
|
||||
name = "day1"
|
||||
version = "0.1.0"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "advent_of_code"
|
||||
name = "day1"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
use std::fs;
|
||||
|
||||
pub fn run_day1(){
|
||||
fn main() {
|
||||
let contents = fs::read_to_string("input.txt").expect("Could not read the file");
|
||||
|
||||
let first_total_calibration_value = first_impl(&contents);
|
||||
Loading…
Reference in New Issue