| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 133405 | 蒋雨翰 | 18排列骨头 | C++ | Time Limit Exceeded | 1000 MS | 244 KB | 327 | 2025-10-18 16:56:21 |
#include <bits/stdc++.h> using namespace std; int a[100]; int main() { int cnt=0; int i=1; int ss=11; while(cnt<15){ if(a[i]==0){ ss++; if(ss==9){ a[i]=1; cnt++; ss=0; } } i++; if(i>30)i=1; } for(int j=1;j<=30;j++){ if(a[j]==0){ cout<<j<<" "; } } return 0; }