Square root of 1 in mod 1e300 by gmk

print([a=5G.modPow(2**300,b=10**300)*2-1,b-1,b-a][System.in.read()%10%3])

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

download

return to the top page