Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
123006 袁梓豪 12for循环练习III C++ Accepted 1 MS 268 KB 184 2025-06-22 13:18:48

Tests(1/1):


Code:

#include<iostream> using namespace std; int main() { int n; cin >> n; for (int i = 1; i < 100; i = i + 2) { if (i % 2 == 1) { cout << i << " "; } } return 0; }