Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(){
- int l; cin >> l;
- int n; cin >> n;
- for(int i = 0; i < n; i++){
- int w, h; cin >> w >> h;
- if(w < l || h < l){
- cout << "UPLOAD ANOTHER" << endl;
- }else{
- if(w == h){
- cout << "ACCEPTED" << endl;
- }else{
- cout << "CROP IT" << endl;
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement