No testdata at current.
No submission language available for this problem.
有若干个橘子,重量在 a 克以上 b 克以下(含 a 克和 b 克)。请问它们的重量之和能否正好为 w 公斤?如果可以,输出橘子个数的最小值和最大值;否则输出 UNSATISFIABLE 。
注意,每个橘子的重量都可能不是整数。
按照如下格式输入
A B W
100 200 2
10 20
120 150 2
14 16
300 333 1
UNSATISFIABLE
By signing up a 西蒙科教 universal account, you can submit code and join discussions in all online judging services provided by us.