A、Groundhog and 2-Power Representation Python的签到题,会Python就很简单,直接替换加eval就行了 s = input()
s = s.replace('(', '**(')
print(eval(s))
F、Groundhog Looking D
展开全文
题目描述 Groundhog took a math class. In this class, his math teacher said, any positive integer can be represented by the power of . For example, . An
展开全文