| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155371 | 毛靖平 | 桃子问题 | C++ | Wrong Answer | 1 MS | 260 KB | 2398 | 2026-06-07 10:59:54 |
#include<bits/stdc++.h> using namespace std; int a(int x){ if(x==1) return 1; else{ return a(x-1)*2+1; } } int main(){ cout<<a(10); }
------Input------
0
------Answer-----
1534
------Your output-----
1023