import "stdlib/io.jou"
def main() -> int:
cnt = 0
flag = True
for i = 2;;i++:
for j = 2; j <= i; j++:
if not flag:
break
for k = 1; k < j; k++:
if i == j * j - k * k:
cnt++
flag = False
break
flag = True
if cnt == 2023:
printf("%d", i)
break
return 0
I think
for i = 0;;i++: # This is a forever loop!
But
compiler error in file "test.jou", line 6: expected an expression, got ';'
I just wrote something like this:
I think
But