Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
123735 李俊博 12for循环练习III C++ Accepted 0 MS 260 KB 297 2025-07-10 11:37:58

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){/** int i; for(i=1;i<=1000;i++){ cout<<i<<" "; } int i; for(i=7;i<=100;i=i+7){ cout<<i<<" "; } int i; for(i=998;i>=1;i=i-2){ cout<<i<<" "; }**/ for(int i=1;i<=99;i+=2){ cout<<i<<" "; } return 0; }