Run ID:164172
提交时间:2026-11-01 10:30:13
#include<bits/stdc++.h> using namespace std; int main(){ bool a[11]={0}; for(int i=1,j=1;i<=1000;i++,j+=i){ if(j>10)j%=10; a[j]=1; } for(int qi=1;qi<=10;qi++){ if(!a[qi]) cout<<qi<<' '; } return 0; }