Compound interest by ienaga

a,b,c=gets.split(":").map{|i|i.to_i};(1..a).inject(b){|r,i|p r;r+r*c/100}

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

download

return top