| # | Problem | Pass Rate (passed user / total user) |
|---|---|---|
| 12736 | Quiz1 Cargo Truck Problem |
|
Description
We wants to transport some items using a truck.
Can these items be packed into the truck?
- Do not flip or rotate items
- Items must touch the floor of the truck
- Items must occupy the entire length (without space that allows the items to move forward or backword)
Input
1. Number of items (<10)
2. the "exact" width and height of the item
- 1st item
- 2nd item ...
(The items will be compose of )
3. Number of Truck lengths to check
- The lengths to check (Repeating is fine)
Output
Answer Yes or No for each truck length