Files
zern/examples/euler7.zr
2025-06-01 21:48:47 +02:00

11 lines
232 B
Plaintext

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