Square root of 1 in mod 1e300 by gmk

b=10**300;a=pow(5,2**300,b)*2-1;print[a,b-1,b-a][input()%7%4]

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

download

return to the top page