// input checker probB - ECNA2015 #include using namespace std; int main(){ int nr,nc,n,m; int r,c; cin>>nr>>nc>>n>>m; if(nr<1 || nr>10000 ||nc<1 || nc>10000) { cout<<"dimensions of screen incorrect"; return 1; } if(n<0 || m<0 || n+m>100) { cout<<"incorrect number of icons"; return 2; } for(int j=1;j<=n;j++){ cin>>r>>c; if(r<0 || r>=nr || c<0 || c>=nc) { cout<<"deleted icon "<>r>>c; if(r<0 || r>=nr || c<0 || c>=nc) { cout<<"not deleted icon "<