System.in.eachLine{{a,b->printf"%.0f\n",Math.log(a)/Math.log(b)}it.split()*.toDouble()}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page