#include<bits/stdc++.h> using namespace std; int main(){ int n; for(n=10;n<=1000;n++){ if(n%2==0){ if(n%3==0){ if(n%7==0){ cout<<n<<endl; } } } } } /************************************************************** Problem: 1090 User: zengyixuan Language: C++ Result: Accepted Time:5 ms Memory:2072 kb ****************************************************************/