Tidied AOC XXXX
Continuous integration / Check (push) Successful in 49s
Continuous integration / Test Suite (push) Successful in 51s
Continuous integration / Rustfmt (push) Successful in 36s
Continuous integration / build (push) Successful in 49s
/ Check (push) Successful in 50s
/ Test Suite (push) Successful in 52s
/ Rustfmt (push) Successful in 37s
/ Clippy (push) Successful in 51s
/ build (push) Successful in 53s

This commit is contained in:
2024-11-21 05:30:44 +00:00
parent bf2205c257
commit 0b35b8f623
106 changed files with 95 additions and 97 deletions
+4 -3
View File
@@ -1,4 +1,5 @@
for day in range(1, 26):
boilerplate = open(".\\src\\solutions\\dayxx.rs", "r").read()
boilerplate = boilerplate.replace("0", str(day))
@@ -7,6 +8,6 @@ for day in range(1, 26):
new_code = open(f".\\src\\solutions\\day{day:02d}.rs", "w")
new_code.write(boilerplate)
f = open(f".\\src\\input\\day{day:02d}", "x")
f = open(f".\\src\\input\\day{day:02d}_test1", "x")
f = open(f".\\src\\input\\day{day:02d}_test2", "x")
f = open(f".\\input\\day{day:02d}", "x")
f = open(f".\\input\\day{day:02d}_test1", "x")
f = open(f".\\input\\day{day:02d}_test2", "x")