Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- long long int test,a,b,x,y;
- scanf("%lld", &test);
- while(test--)
- {
- scanf("%lld %lld %lld %lld", &a,&b,&x,&y);
- if(a*b>x*y && ((a>x && b>y) || (a>y && b>x)))
- {
- printf("Escape is possible.\n");
- }
- else
- {
- printf("Box cannot be dropped.\n");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement