Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78540 刘宇轩 累加问题 C++ Accepted 3 MS 268 KB 167 2024-06-22 16:07:03

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; void a(int x){ cout<<x<<endl; x++; if(x<=100){ a(x); } } int main(){ int x=1; a(x); return 0; }