The Knapsack Problem

SPOJ - KNAPSACK