Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
117866 | 唐诗阳 | 14报数拿糖 | C++ | Wrong Answer | 2 MS | 272 KB | 408 | 2025-04-20 14:38:04 |
#include<iostream> #include<cstdio> //scanf()\printf() #include<cstring> #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int n=1; for(int i=1;i<=10;i++){ for(int j=1;j<=10;j++) if(n%3!=0){ cout<<n<<endl; n++; } else{ n++; continue; } } return 0; }
------Input------
0
------Answer-----
3 6 9 2 5 8 1 4 7 10 3 6 9 2 5 8 1 4 7 10 3 6 9 2 5 8 1 4 7 10 3 6 9
------Your output-----
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