-
Notifications
You must be signed in to change notification settings - Fork 2
sibice
bradendubois edited this page Oct 7, 2021
·
8 revisions
ID: sibice
Difficulty: 1.4
CPU Time: 1 second
Memory: 1024 MB
The problem describes dimensions W and H, which are actually width and length, which can be a bit confusing. Since some basic trig shows that the hypotenuse of the box will be bigger than either dimension, one calculates that, and if a match is <= that, it fits.