Compound interest by tommy (kaigi)

n,v,p=gets.split(":").map(&:to_i);n.times{p v;v+=v*p/100}

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

download

return to the top page