m=(v=scan('stdin',sep=':'))[2] for(i in 1:v[1]){write(m,'') m=m+(m*v[3])%/%100}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page