Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
107096 | 王珠潏 | 哪几扇门是打开的 | C++ | Wrong Answer | 1 MS | 260 KB | 205 | 2025-01-17 12:27:08 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; bool f=true; for(int i=1;i<=100;i++){ if(i%2==0){ f=false; if(i%3==0){ cout<<i<<" "; } } } return 0; }
------Input------
0
------Answer-----
1 4 9 16 25 36 49 64 81 100
------Your output-----
6 12 18 24 30 36 42 48 54 60 66 72 78 84 90 96