Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79317 黄睿杰 12输出3的倍数 C++ Accepted 0 MS 256 KB 182 2024-07-03 18:35:42

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int a[1000000]; int main(){ int s=0; for(int i=1;i<=100;i++){ s++; if(s*3>=100) break; cout<<s*3<<" "; } return 0; }