Run ID:103609

提交时间:2024-12-29 14:32:46

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