All about problems in Volume 119. If there is a thread about your problem, please use it. If not, create one with its number in the subject.
Moderator: Board moderators
- New poster
- Posts: 48
- Joined: Sat Apr 06, 2013 6:02 pm
Need some hints about the solution method...No Idea...
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
I used recursive backtracking with pruning. The K Smallest Sums are kept in a priority queue.
Check input and AC output for thousands of problems on uDebug