| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 128520 | 周荣浩 | 18排列骨头 | C++ | Wrong Answer | 0 MS | 256 KB | 360 | 2025-08-18 09:00:33 |
#include<bits/stdc++.h> using namespace std; int a[31]; int main() { int bs=1; int sum=0; int i=1; while(sum<15){ if(bs==9){ a[i]=1; bs=0; sum++; } i++; if(i>30) i=1; if(a[i]!=1){ bs++; } } for(int i=1;i<=30;i++){ if(a[i]==0){ cout<<a[i]<<" "; } } return 0; }
------Input------
0
------Answer-----
1 2 3 4 10 11 13 14 15 17 20 21 25 28 29
------Your output-----
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0