天天看點

UVA Dividing coins

題目連結:

https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=503

背包問題: