Modular Exponentiation 2 by uru

#!ruby -na
eval"R,A,B,C=1,"+$F*','+";R*=A.**B%2;B/=2;A*=A%C"*32
p R%C

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

download

return to the top page