Compound interest by taninsw(kaigi)

c,d,e=(gets.split":").map{|i|i.to_i};c.times{p d;d+=d*e/100}

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

download

return top