Pythagorean triple fixed by pooq

m:-between(3,100,A),between(3,5000,B),C=sqrt(A*A+B*B),D=floor(C),C=:=D,\+format("~d ~d ~d~n",[A,B,D]).

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

download

return to the top page