Python 90分求调
查看原帖
Python 90分求调
515129
TLEWA楼主2023/6/18 08:48

rt,不想用二分(二分已 A

import math
from decimal import *
getcontext().prec = 800
a=int(input())
b=int(input())
print(int(getcontext().power( Decimal(b),(Decimal(1)/Decimal(a)) )))
2023/6/18 08:48
加载中...