SIANGLE by Jag

s=[];$_.to_i.times{s<<(gets=~/[^0-9\n]/?"Invalid input":($_.to_i-2)*180)}while gets;puts s*$/

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

download

return to the top page