Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102083 程余天皓 累加问题 C++ Accepted 4 MS 264 KB 151 2024-12-21 11:57:22

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; }