Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
123363 袁梓豪 12输出3的倍数 C++ Accepted 0 MS 260 KB 190 2025-06-29 13:14:28

Tests(1/1):


Code:

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