KNAPSACK PROBLEM-DP
i am having problem in solving this problem using 0/1 knapsack problem. http://codeforces.me/contest/19/problem/B