Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126081 刘佳宇 累加问题 C++ Accepted 5 MS 260 KB 177 2025-07-16 11:05:56

Tests(1/1):


Code:

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