Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
122997 王培用 12for循环练习III C++ Accepted 1 MS 268 KB 175 2025-06-22 13:11:22

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main() { for (int i = 1;i<101;i = i + 1){ if ( i % 2 == 1) { cout << i<<" "; } } return 0; }