Run ID:7801
提交时间:2025-05-24 08:43:12
#include<bits/stdc++.h> using namespace std; int main(){ bool a[101]={}; for(int i=1;i<=100;i++){ for(int j=1;j<=100;j++){ if(j%i==0){ a[j]=!a[j]; } } } for(int i=1;i<=100;i++){ if(a[i]){ cout<<i<<" "; } } return 0; }