竞赛
考级
zsy
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d=0;; cin>>a>>b>>c; for(int x=1000;x<=9999;x++){ if((x%a0)&&((x+1)%b0)&&((x+2)%c0)){ cout<<x<<endl; d++; } } if(d0){ cout<<"Impossible"; } return 0; }
LS_YZY