Triangle Inequality by teebee

stdin.get_s(9K).split("
"){a,b,c:it.split(" ").map(|v|v.to_i).to_a;d:a-b;(d*d<c*c&&a+b>c?1:0).p;}

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

download

return to the top page