Run ID:157943

提交时间:2026-08-19 14:30:54

#include<bits/stdc++.h> using namespace std; int age(int x){ if(x==1){ return 10; } else if(x>1){ return age(x-1)+2; } } int main(){ cout<<age(5); return 0; }