Day 2 done

This commit is contained in:
2024-12-03 11:04:45 +01:00
parent 18f1bb5698
commit fbb860804a
6 changed files with 1104 additions and 1 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ func Must[T any](obj T, err error) T {
func LoadInputs(input string) []string {
fmt.Println("Opening file...")
bytes := Must(os.ReadFile("././inputs/" + input))
bytes := Must(os.ReadFile("/home/g3po/Projects/advent_of_code_2024/inputs/" + input))
content := strings.Split(string(bytes), "\n")
return content[:len(content)-1]
}