#include <bits/stdc++.h> using namespace std; int main(){ for(int y=102;y<1000;y+=3){ if(y%10==5||y/10%10==5||y/100==5)cout<<y<<"\n"; } return 0; } /************************************************************** Problem: 1059 User: zhouhongyi Language: C++ Result: Wrong Answer ****************************************************************/