Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
108598 胡海峰老师 12for循环练习III C++ Accepted 2 MS 264 KB 218 2025-01-20 21:28:32

Tests(1/1):


Code:

#include <iostream> using namespace std; int main () { //1,3,5 // for(int i=1;i<=99;i+=2) // cout<<i<<endl; int i; i=1; while(i<=99) { cout<<i<<endl; i++; i++; } return 0; }