当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。
There are several test cases, each represented by two lines of input. The first line of each contains 4 integers: w, h, l, H. The next line contains 3 integers - the dimensions of the box.8 8 12 7 8 12 8 8 8 12 7 7 12 8 8 8 12 7 1 7 13 100 200 99 190 100 195 30
The box will not go on the truck. The box goes on the truck. The box will not go on the truck. The box goes on the truck.
| 时间上限 | 内存上限 |
| 1000 | 65536 |