Run ID:6968
提交时间:2025-03-29 12:47:28
#include<bits/stdc++.h> using namespace std; int a[31],z,b; int main(){ while(b<15){ for(int i=1;i<=30;i++){ if(a[i]==0){ z++; if(z==10){ z=1; } if(z==9){ a[i]=1; b++; } } } } for(int i=1;i<=30;i++){ if(a[i]==0){ cout<<i<<" "; } } return 0; }