Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135005 陈华仁星 桃子问题 C++ Wrong Answer 0 MS 264 KB 224 2025-11-02 10:32:27

Tests(0/1):


Code:

#include <iostream> using namespace std; int a=1; int top; void sum(int top) { if(top<=10) { a+=1; top+=1; a*=2; sum(top); } else { printf("%d",a); } } int main() { sum(a); return 0; }


Run Info:

------Input------
0
------Answer-----
1534
------Your output-----
3070