Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71502 张智博 求解函数 Python3 Accepted 41 MS 4340 KB 156 2024-04-24 22:02:08

Tests(10/10):


Code:

def f(x,n): if n==0: return x else: return x/(n+f(x,n-1)) a,b = list(map(int,input().split())) c = f(a,b) print("%.2f" % c)