mahim007's blog

By mahim007, history, 9 years ago, In English

pls give me some critical test cases and help me to find out what is going wrong :( :( :( it is a simple 0-1 knapsack problem.

problem link=>uva 11003(Boxes)

my code=>codepad link

  • Vote: I like it
  • -6
  • Vote: I do not like it

| Write comment?
»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Try "%I64d" instead of "%lld". It might make a difference, but don't count on it. (Note: I didn't review your code thoroughly.)