Run ID:156210

提交时间:2026-06-27 10:43:54

#include<bits/stdc++.h> using namespace std; int main() { int q[100]={0}; for(int i=2;i<=100;i++){ for(int j=i;j<=100;j++){ if(j%i==0)q[j]=!q[j]; } } for(int i=1;i<=100;i++){ if(q[i]==0)cout<<i<<' '; } return 0; }