You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
for (int i = 1000; i <= 1100; i++) {
|
|
if (i % 3 == 2 && i % 5 == 3 && i % 7 == 2) {
|
|
cout << i << endl;
|
|
}
|
|
}
|
|
return 0;
|
|
}
|