advent of code day 1

This commit is contained in:
2025-12-18 14:04:44 +01:00
parent 7855e5b092
commit 9f39f627ad
21 changed files with 114 additions and 19 deletions

View File

@@ -0,0 +1,11 @@
func main[] : I64
let found: I64 = 0
let i: I64 = 1
while true
if math.is_prime(i)
found = found + 1
if found == 10001
io.println_i64(i)
break
i = i + 1