Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
89373 | 黎贤超 | 14马里奥吃蘑菇 | C++ | Wrong Answer | 1 MS | 264 KB | 224 | 2024-08-24 09:15:26 |
#include<iostream> using namespace std; int main(){ int a,b; cin>>a; for(int i=1;i<=a;i++){ if(i%3!=0){ cout<<i<<endl; if(a<=100){ continue; } } } return 0; }
------Input------
0
------Answer-----
1 2 4 5 7 8 10 11 13 14 16 17 19 20 22 23 25 26 28 29 31 32 34 35 37 38 40 41 43 44 46 47 49 50 52 53 55 56 58 59 61 62 64 65 67 68 70 71 73 74 76 77 79 80 82 83 85 86 88 89 91 92 94 95 97 98 100
------Your output-----