Pythagorean triple fixed by pooq

for(a,3,100,for(b,3,a*a/2,c:=(a*a+b*b)sqrt;c%1>0or writeln(a," ",b," ",c)))

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page