题目A:
Problem Statement |
|||||||||||||
There is a rectangular hole in the ground. You are given the dimensions of this rectangle: ints holeH and holeW. You have a rectangular board. You are given its dimensions: ints boardH and boardW. You would like to use the board to cover the hole. There are some rules you must follow when covering the hole:
If you can cover the hole using the board you have, return 1. Otherwise, return -1. |
|||||||||||||
Definition |
|||||||||||||
|
|||||||||||||
Limits |
|||||||||||||
|
|||||||||||||
Constraints |
|||||||||||||
- | holeW, holeH, boardW, and boardH will be between 1 and 1,000,000,000, inclusive. | ||||||||||||
Examples |
|||||||||||||
0) | |||||||||||||
|