| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 71504 | 彭士宝 | 求解函数 | Python3 | Runtime Error | 4013 MS | 4168 KB | 324 | 2024-04-24 22:04:33 |
def recursive_function(x, n): if n == 0: return 1 elif n == 1: return x else: return x * recursive_function(x, n - 1) + (1 - x) * recursive_function(x, n - 2) x, n = map(float, input().split()) result = round(recursive_function(x, n), 2) print(result)
Runtime Error:[ERROR] A not allowed system call. Call ID:511