Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
103625 刘慕莀 年龄问题 C++ Accepted 0 MS 264 KB 154 2024-12-29 14:33:50

Tests(1/1):


Code:

#include<iostream> using namespace std; int l(int a){ if(a==1){ return 10;; } return 2+l(a-1); } int main() { cout << l(5); return 0; }