mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
6 lines
346 B
C++
6 lines
346 B
C++
|
1. You can measure dmg using x many amg weights and y many bmg weights.
|
||
|
2. The total number of weights (x + y) is the smallest among those pairs of nonnegative
|
||
|
integers satisfying the previous condition.
|
||
|
3. The total mass of weights (ax + by) is the smallest among those pairs of nonnegative
|
||
|
integers satisfying the previous two conditions.
|