#!ruby -n a,b=$_.split.map &:to_i;s=0;(s+=a*b;a-=1;b-=1)while a*b>0;p s
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page