Online Judge
Toggle navigation
C++题库系统 OJ
首页
问题列表
状态
排行榜
登录
首页
状态
67517
Run ID
作者
问题
语言
测评结果
Time
Memory
代码长度
提交时间
67517
胡海峰老师
年龄问题
Python3
Accepted
28 MS
3728 KB
93
2024-03-16 16:42:45
Tests(1/1):
Code:
def age(n): if n==1: return 10 return age(n-1)+2 res = age(5) print(res)