def func(n):
if n == 1:
return 1;
return 2 * func(n - 1) + 1
while True:
try:
n = int(input())
print(func(n))
except EOFError:
break
报错ValueError: invalid literal for int() with base 10: ‘‘解决方法“
最新推荐文章于 2024-07-20 19:34:47 发布