sum input by inaniwa

s = 0\x0d
while n = $<.gets\x0d
  s += n.to_i\x0d
end\x0d
puts s

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

download

return to the top page