SQR by bk1e

#!ruby -n
x,y=v=split.map{|i|i.to_i}
a=0
v.min.times{|i|a+=(x-i)*(y-i)}
p a

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

download

return top