Files
zern/examples/euler7.zr
2025-06-03 12:52:07 +02:00

11 lines
235 B
Plaintext

func main[] : I64
let found: I64 = 0
let i: I64 = 1
while true
if Math.is_prime(i)
found = found + 1
if found == 10001
print_i64(i)
return 0
i = i + 1