Run ID:44493

提交时间:2023-02-11 19:29:00

# include<iostream> using namespace std; int main(){ int a[11]={0},i,j,xx=0; for(i=0,j=0;i<1000;i++,j+=i){ if(j>10)j%=10; a[j]=1; }for(i=0;i<10;i++) if(a[i]==0)cout<<i<<" "; return 0; }