2025 day 2
This commit is contained in:
parent
5ef662fdcc
commit
1f92f032ca
2 changed files with 23 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue