Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102082 孙睿阳 累加问题 C++ Accepted 4 MS 272 KB 157 2024-12-21 11:57:11

Tests(1/1):


Code:

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