Pythagorean triple fixed by nn

b,c,d;main(a){for(;c=b++>1e4?b=a++<100:sqrt(d=a*a+b*b);)d-c*c||printf("%d %d %d\n",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