#706. number game
number game
当前没有测试数据。
Background
Special for beginners, ^_^
Description
给定一个数字串,每次可以进行以下操作之一:
- 删去一个数字,代价为 a
- 加入一个数字,代价为 b
- 修改一个数字,代价为 c
求使 x>y 的最小代价。
Format
Input
Two integers x and y, satisfying .
Output
One integer, the sum of x and y.
Samples
123 500
623
Limitation
1s, 1024KiB for each test case.