another aoc solution

This commit is contained in:
2025-12-21 14:50:09 +01:00
parent 7f93599f34
commit 0863094635
15 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
func main[] : I64
let n: I64 = 40
let r: I64 = 20
let out: I64 = 1
for i in 1..r+1
out = out * (n - (r - i)) / i
io.println_i64(out)