Run ID:164933
提交时间:2026-11-08 11:19:26
#include<bits/stdc++.h> using namespace std; int main(){ bool bool d[11]={0}; for(int i=1;i<=1000;i++){ for(int j=1;;j+=i){ if(j>10) j%=10; d[j]=1; } } for(int i=1;i<=10;i++){ if(d[1]==0){ cout<<i<<" "; } } return 0; }