Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102086 刘济玮 累加问题 C++ Accepted 3 MS 260 KB 153 2024-12-21 11:58:09

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