2025 day 2

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-08 16:40:21 -06:00
parent 5ef662fdcc
commit 1f92f032ca
2 changed files with 23 additions and 7 deletions

View file

@ -1,4 +1,6 @@
{
toIntBase10 = str: builtins.fromJSON "${str}";
mod = a: b: a - b * (builtins.floor (a / b));
min = a: b: if a < b then a else b;
max = a: b: if a > b then a else b;
}