From b5adad27329c950f437576a96c55c6620d90f5b9 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Tue, 10 Dec 2024 08:55:11 +0100 Subject: [PATCH] pad zeroes --- sample/{day1-sample.txt => day01-sample.txt} | 0 sample/{day2-sample.txt => day02-sample.txt} | 0 sample/{day3-sample.txt => day03-sample.txt} | 0 sample/{day3-sample2.txt => day03-sample2.txt} | 0 sample/{day4-sample.txt => day04-sample.txt} | 0 sample/{day5-sample.txt => day05-sample.txt} | 0 sample/{day6-sample.txt => day06-sample.txt} | 0 sample/{day7-sample.txt => day07-sample.txt} | 0 sample/{day8-sample.txt => day08-sample.txt} | 0 sample/{day8-sample2.txt => day08-sample2.txt} | 0 sample/{day9-sample.txt => day09-sample.txt} | 0 sample/{day9-sample2.txt => day09-sample2.txt} | 0 sample/day10-sample.txt | 8 ++++++++ src/{day1_p1.gleam => day01_p1.gleam} | 0 src/{day1_p2.gleam => day01_p2.gleam} | 0 src/{day2_p1.gleam => day02_p1.gleam} | 0 src/{day2_p2.gleam => day02_p2.gleam} | 0 src/{day3_p1.gleam => day03_p1.gleam} | 0 src/{day3_p2.gleam => day03_p2.gleam} | 0 src/{day4_p1.gleam => day04_p1.gleam} | 0 src/{day4_p2.gleam => day04_p2.gleam} | 0 src/{day5_p1.gleam => day05_p1.gleam} | 0 src/{day5_p2.gleam => day05_p2.gleam} | 0 src/{day6_p1.gleam => day06_p1.gleam} | 0 src/{day6_p2.gleam => day06_p2.gleam} | 0 src/{day7_p1.gleam => day07_p1.gleam} | 0 src/{day7_p2.gleam => day07_p2.gleam} | 0 src/{day8_p1.gleam => day08_p1.gleam} | 0 src/{day8_p2.gleam => day08_p2.gleam} | 0 src/{day9_p1.gleam => day09_p1.gleam} | 0 src/{day9_p2.gleam => day09_p2.gleam} | 0 31 files changed, 8 insertions(+) rename sample/{day1-sample.txt => day01-sample.txt} (100%) rename sample/{day2-sample.txt => day02-sample.txt} (100%) rename sample/{day3-sample.txt => day03-sample.txt} (100%) rename sample/{day3-sample2.txt => day03-sample2.txt} (100%) rename sample/{day4-sample.txt => day04-sample.txt} (100%) rename sample/{day5-sample.txt => day05-sample.txt} (100%) rename sample/{day6-sample.txt => day06-sample.txt} (100%) rename sample/{day7-sample.txt => day07-sample.txt} (100%) rename sample/{day8-sample.txt => day08-sample.txt} (100%) rename sample/{day8-sample2.txt => day08-sample2.txt} (100%) rename sample/{day9-sample.txt => day09-sample.txt} (100%) rename sample/{day9-sample2.txt => day09-sample2.txt} (100%) create mode 100644 sample/day10-sample.txt rename src/{day1_p1.gleam => day01_p1.gleam} (100%) rename src/{day1_p2.gleam => day01_p2.gleam} (100%) rename src/{day2_p1.gleam => day02_p1.gleam} (100%) rename src/{day2_p2.gleam => day02_p2.gleam} (100%) rename src/{day3_p1.gleam => day03_p1.gleam} (100%) rename src/{day3_p2.gleam => day03_p2.gleam} (100%) rename src/{day4_p1.gleam => day04_p1.gleam} (100%) rename src/{day4_p2.gleam => day04_p2.gleam} (100%) rename src/{day5_p1.gleam => day05_p1.gleam} (100%) rename src/{day5_p2.gleam => day05_p2.gleam} (100%) rename src/{day6_p1.gleam => day06_p1.gleam} (100%) rename src/{day6_p2.gleam => day06_p2.gleam} (100%) rename src/{day7_p1.gleam => day07_p1.gleam} (100%) rename src/{day7_p2.gleam => day07_p2.gleam} (100%) rename src/{day8_p1.gleam => day08_p1.gleam} (100%) rename src/{day8_p2.gleam => day08_p2.gleam} (100%) rename src/{day9_p1.gleam => day09_p1.gleam} (100%) rename src/{day9_p2.gleam => day09_p2.gleam} (100%) diff --git a/sample/day1-sample.txt b/sample/day01-sample.txt similarity index 100% rename from sample/day1-sample.txt rename to sample/day01-sample.txt diff --git a/sample/day2-sample.txt b/sample/day02-sample.txt similarity index 100% rename from sample/day2-sample.txt rename to sample/day02-sample.txt diff --git a/sample/day3-sample.txt b/sample/day03-sample.txt similarity index 100% rename from sample/day3-sample.txt rename to sample/day03-sample.txt diff --git a/sample/day3-sample2.txt b/sample/day03-sample2.txt similarity index 100% rename from sample/day3-sample2.txt rename to sample/day03-sample2.txt diff --git a/sample/day4-sample.txt b/sample/day04-sample.txt similarity index 100% rename from sample/day4-sample.txt rename to sample/day04-sample.txt diff --git a/sample/day5-sample.txt b/sample/day05-sample.txt similarity index 100% rename from sample/day5-sample.txt rename to sample/day05-sample.txt diff --git a/sample/day6-sample.txt b/sample/day06-sample.txt similarity index 100% rename from sample/day6-sample.txt rename to sample/day06-sample.txt diff --git a/sample/day7-sample.txt b/sample/day07-sample.txt similarity index 100% rename from sample/day7-sample.txt rename to sample/day07-sample.txt diff --git a/sample/day8-sample.txt b/sample/day08-sample.txt similarity index 100% rename from sample/day8-sample.txt rename to sample/day08-sample.txt diff --git a/sample/day8-sample2.txt b/sample/day08-sample2.txt similarity index 100% rename from sample/day8-sample2.txt rename to sample/day08-sample2.txt diff --git a/sample/day9-sample.txt b/sample/day09-sample.txt similarity index 100% rename from sample/day9-sample.txt rename to sample/day09-sample.txt diff --git a/sample/day9-sample2.txt b/sample/day09-sample2.txt similarity index 100% rename from sample/day9-sample2.txt rename to sample/day09-sample2.txt diff --git a/sample/day10-sample.txt b/sample/day10-sample.txt new file mode 100644 index 0000000..cada9b3 --- /dev/null +++ b/sample/day10-sample.txt @@ -0,0 +1,8 @@ +89010123 +78121874 +87430965 +96549874 +45678903 +32019012 +01329801 +10456732 diff --git a/src/day1_p1.gleam b/src/day01_p1.gleam similarity index 100% rename from src/day1_p1.gleam rename to src/day01_p1.gleam diff --git a/src/day1_p2.gleam b/src/day01_p2.gleam similarity index 100% rename from src/day1_p2.gleam rename to src/day01_p2.gleam diff --git a/src/day2_p1.gleam b/src/day02_p1.gleam similarity index 100% rename from src/day2_p1.gleam rename to src/day02_p1.gleam diff --git a/src/day2_p2.gleam b/src/day02_p2.gleam similarity index 100% rename from src/day2_p2.gleam rename to src/day02_p2.gleam diff --git a/src/day3_p1.gleam b/src/day03_p1.gleam similarity index 100% rename from src/day3_p1.gleam rename to src/day03_p1.gleam diff --git a/src/day3_p2.gleam b/src/day03_p2.gleam similarity index 100% rename from src/day3_p2.gleam rename to src/day03_p2.gleam diff --git a/src/day4_p1.gleam b/src/day04_p1.gleam similarity index 100% rename from src/day4_p1.gleam rename to src/day04_p1.gleam diff --git a/src/day4_p2.gleam b/src/day04_p2.gleam similarity index 100% rename from src/day4_p2.gleam rename to src/day04_p2.gleam diff --git a/src/day5_p1.gleam b/src/day05_p1.gleam similarity index 100% rename from src/day5_p1.gleam rename to src/day05_p1.gleam diff --git a/src/day5_p2.gleam b/src/day05_p2.gleam similarity index 100% rename from src/day5_p2.gleam rename to src/day05_p2.gleam diff --git a/src/day6_p1.gleam b/src/day06_p1.gleam similarity index 100% rename from src/day6_p1.gleam rename to src/day06_p1.gleam diff --git a/src/day6_p2.gleam b/src/day06_p2.gleam similarity index 100% rename from src/day6_p2.gleam rename to src/day06_p2.gleam diff --git a/src/day7_p1.gleam b/src/day07_p1.gleam similarity index 100% rename from src/day7_p1.gleam rename to src/day07_p1.gleam diff --git a/src/day7_p2.gleam b/src/day07_p2.gleam similarity index 100% rename from src/day7_p2.gleam rename to src/day07_p2.gleam diff --git a/src/day8_p1.gleam b/src/day08_p1.gleam similarity index 100% rename from src/day8_p1.gleam rename to src/day08_p1.gleam diff --git a/src/day8_p2.gleam b/src/day08_p2.gleam similarity index 100% rename from src/day8_p2.gleam rename to src/day08_p2.gleam diff --git a/src/day9_p1.gleam b/src/day09_p1.gleam similarity index 100% rename from src/day9_p1.gleam rename to src/day09_p1.gleam diff --git a/src/day9_p2.gleam b/src/day09_p2.gleam similarity index 100% rename from src/day9_p2.gleam rename to src/day09_p2.gleam