Pythagorean triple fixed by nanayaT

(3..100).each{|i|(3..i*i).each{|j|s=i*i+j*j;k=(s**0.5).to_i;puts "#{i} #{j} #{k}" if k*k==s}}

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

download

return top