var i,j,k:word;begin for i:=3to 100do for j:=3to i*i do for k:=j to i+j do if i*i+j*j=k*k then writeln(i,^`,j,^`,k)end.

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

download

return to the top page