diff options
author | Marvin Borner | 2024-10-26 21:36:34 +0200 |
---|---|---|
committer | Marvin Borner | 2024-10-26 21:36:34 +0200 |
commit | 0a64553fb3f97021eea303fc9ba8b26d67db709c (patch) | |
tree | 4223751b72a44e7481c70a0c89a4a9efbbb1fcd6 | |
parent | f0114240cecd453c2be7bb760455f0eb5b7a02a0 (diff) |
Synced AOC checks
-rw-r--r-- | samples/aoc/2015/01/output.check | 2 | ||||
-rw-r--r-- | samples/aoc/2015/02/output.check | 2 | ||||
-rw-r--r-- | samples/aoc/2016/01/output.check | 2 | ||||
-rw-r--r-- | samples/aoc/2017/01/output.check | 2 | ||||
-rw-r--r-- | samples/aoc/2018/01/output.check | 2 | ||||
-rw-r--r-- | samples/aoc/2018/01/solve.bruijn | 7 | ||||
-rw-r--r-- | samples/aoc/2019/01/output.check | 2 | ||||
-rw-r--r-- | samples/aoc/2020/01/output.check | 2 | ||||
-rw-r--r-- | samples/aoc/2021/01/output.check | 2 | ||||
-rw-r--r-- | samples/aoc/2022/01/output.check | 2 | ||||
-rw-r--r-- | samples/aoc/2022/02/output.check | 2 | ||||
-rw-r--r-- | samples/aoc/2023/02/output.check | 2 |
12 files changed, 14 insertions, 15 deletions
diff --git a/samples/aoc/2015/01/output.check b/samples/aoc/2015/01/output.check index 1af61be..a6932fa 100644 --- a/samples/aoc/2015/01/output.check +++ b/samples/aoc/2015/01/output.check @@ -1 +1 @@ -?> <-1t : 5t> +?> -1/6 (approx. -0.16666667) diff --git a/samples/aoc/2015/02/output.check b/samples/aoc/2015/02/output.check index f23db1b..8a737c6 100644 --- a/samples/aoc/2015/02/output.check +++ b/samples/aoc/2015/02/output.check @@ -1 +1 @@ -?> <101t : 48t> +?> 101/49 (approx. 2.06122449) diff --git a/samples/aoc/2016/01/output.check b/samples/aoc/2016/01/output.check index 3aa74a0..2e957c5 100644 --- a/samples/aoc/2016/01/output.check +++ b/samples/aoc/2016/01/output.check @@ -1 +1 @@ -?> 12t +?> 252t diff --git a/samples/aoc/2017/01/output.check b/samples/aoc/2017/01/output.check index a46999a..c41399a 100644 --- a/samples/aoc/2017/01/output.check +++ b/samples/aoc/2017/01/output.check @@ -1 +1 @@ -?> <9t : 6t> +?> 9/7 (approx. 1.28571429) diff --git a/samples/aoc/2018/01/output.check b/samples/aoc/2018/01/output.check index ede73be..d1c48e3 100644 --- a/samples/aoc/2018/01/output.check +++ b/samples/aoc/2018/01/output.check @@ -1 +1 @@ -?> <1t : [36m[[0m[91m0[0m[36m][0m> +?> 1/15 (approx. 0.06666667) diff --git a/samples/aoc/2018/01/solve.bruijn b/samples/aoc/2018/01/solve.bruijn index 0fd0448..3d26a2e 100644 --- a/samples/aoc/2018/01/solve.bruijn +++ b/samples/aoc/2018/01/solve.bruijn @@ -5,10 +5,9 @@ part1 ∑‣ ⧗ (List FrequencyDiff) → Frequency -part2 z [[[[rec]]]] S.empty (+0) ⧗ (List FrequencyDiff) → Frequency - rec (S.has? 1 2) case-end case-cont - case-cont 3 (S.add 1 2) (1 + ^0) ~0 - case-end 1 +part2 z [[[[rec]]]] S.empty (+0) + rec S.has? 1 2 1 go + go 3 (S.add 1 2) (1 + ^0) ~0 main [parts nums] nums string→signed-number <$> (init (lines 0)) diff --git a/samples/aoc/2019/01/output.check b/samples/aoc/2019/01/output.check index 00b4ad3..fa74a1c 100644 --- a/samples/aoc/2019/01/output.check +++ b/samples/aoc/2019/01/output.check @@ -1 +1 @@ -?> <34241t : 51316t> +?> 34241/51317 (approx. 0.66724477) diff --git a/samples/aoc/2020/01/output.check b/samples/aoc/2020/01/output.check index 8f5213d..1dddd67 100644 --- a/samples/aoc/2020/01/output.check +++ b/samples/aoc/2020/01/output.check @@ -1 +1 @@ -?> <514579t : 241861950t> +?> 514579/241861951 (approx. 0.00212757) diff --git a/samples/aoc/2021/01/output.check b/samples/aoc/2021/01/output.check index 65f231e..17b599a 100644 --- a/samples/aoc/2021/01/output.check +++ b/samples/aoc/2021/01/output.check @@ -1 +1 @@ -?> <7t : 5t> +?> 7/6 (approx. 1.16666667) diff --git a/samples/aoc/2022/01/output.check b/samples/aoc/2022/01/output.check index 2bef9a3..f93ce74 100644 --- a/samples/aoc/2022/01/output.check +++ b/samples/aoc/2022/01/output.check @@ -1 +1 @@ -?> <24000t : 45000t> +?> 24000/45001 (approx. 0.53332148) diff --git a/samples/aoc/2022/02/output.check b/samples/aoc/2022/02/output.check index f93a9da..74368ff 100644 --- a/samples/aoc/2022/02/output.check +++ b/samples/aoc/2022/02/output.check @@ -1 +1 @@ -?> <15t : 12t> +?> 15/13 (approx. 1.15384615) diff --git a/samples/aoc/2023/02/output.check b/samples/aoc/2023/02/output.check index 8fd48a9..1eb3ccb 100644 --- a/samples/aoc/2023/02/output.check +++ b/samples/aoc/2023/02/output.check @@ -1 +1 @@ -?> <8t : 2286t> +?> 8/2287 (approx. 0.00349803) |