#Lutece1869. 亲亲抱抱长高高
亲亲抱抱长高高
Migrated from Lutece 1869 亲亲抱抱长高高
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
张家有三姐妹:兑田
,兄田
,儿田
分别高 cm, cm, cm,有天一个神秘商人向她们兜售神仙水,传说擦了神仙水可以长高高。
每瓶神仙水的容量有限,可以给一个姐妹涂长高2cm或者给两个姐妹涂各长高1cm,三姐妹想长着一样高,但是由于还要买裙子,所以她们想花尽量少的钱,同样是女孩子的你可以帮帮她们吗。
Input
注意时间限制,单纯的模拟可能会导致TLE。
Output
输出一个数表示至少要买多少瓶。
Samples
2 5 4
2
2 6 3
5
31 41 5
23
Resources
学姐姐的比武招妻