2021-08-18 B. Box Fitting
You are given n rectangles, each of height 1. Each rectangle’s width is a power of 2 (i. e. it can be represented as 2x for some non-negative integer x).
You are also given a two-dimensional box of width W. Note that W may or may not be a power of 2. Moreo
原创
2021-08-18 14:48:39 ·
97 阅读 ·
0 评论