Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126075 杜奕辰 累加问题 C++ Accepted 0 MS 256 KB 164 2025-07-16 11:01:25

Tests(1/1):


Code:

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