Advertisement
Kawsar_Hossain

Untitled

Mar 22nd, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. long long int test,a,b,x,y;
  5. scanf("%lld", &test);
  6. while(test--)
  7. {
  8. scanf("%lld %lld %lld %lld", &a,&b,&x,&y);
  9. if(a*b>x*y && ((a>x && b>y) || (a>y && b>x)))
  10. {
  11. printf("Escape is possible.\n");
  12. }
  13. else
  14. {
  15. printf("Box cannot be dropped.\n");
  16. }
  17.  
  18. }
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement