Run ID:165001
提交时间:2026-11-08 17:03:16
#include <bits/stdc++.h> using namespace std; int a[10001]={}; int main() { int n=15; int pe=n; int i=0,num=0; while(pe>0){ i++; if (i>n) i=1; if (a[i]==0){ num++; if (num==9) { a[i]=1; num=0; pe--; } } } cout<<i<<endl; }