Square root of 1 in mod 1e300 by xnor

k=5**300*2*pow(5**300,2**298-1,2**299)-1
print[k,-k,-1][input()/400]%10**300

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

download

return to the top page