Files
zern/examples/euler9.zr
2025-07-24 14:06:15 +02:00

7 lines
204 B
Plaintext

func main[] : I64
for a in 1..1000
for b in 1..1000
let c: I64 = 1000 - b - a
if a * a + b * b == c * c
io.print_i64(a * b * c)
return 0