Defense of a kingdom

1 min read

https://www.spoj.com/problems/DEFKIN/

Smallest subset with sum greater than all other elements
Die hard