Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
3209 吴奕希 桃子问题 C++ Accepted 0 MS 264 KB 142 2024-04-20 09:59:52

Tests(1/1):


Code:

# include<iostream> using namespace std; int f(int n){ if(n==1)return 1; return 2*(f(n-1)+1); } int main(){ cout<<f(10); }