nth root of v by primo

n,v=map(int,raw_input().split())
x=z=10**101
exec'x+=x/n-x*x**n/v/z**n/n;'*13
print`n%4`+'.'+`x`[1:-2]

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

download

return top