Rosetta Problems

Free Contest 46 - KSMALLESTSUMS

https://oj.vnoi.info/problem/fc046_ksmallestsums