Run ID:107097

提交时间:2025-01-17 12:29:34

#include<bits/stdc++.h> using namespace std; int main(){ int n; bool f=true; for(int i=1;i<=100;i++){ if(i%2==0){ f=false; if(i%3==0){ f=true; } } if(f){ cout<<i<<" "; } } return 0; }