BanazadehAria's blog

By BanazadehAria, history, 15 months ago, In English

Hi, I cant get this problem from editorial.

Please Help ==> https://codeforces.com/problemset/problem/687/C

Thanks in advance.

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
15 months ago, # |
  Vote: I like it +8 Vote: I do not like it

what if other people say the same thing from editorial?

you must show your effort on the problem first

  • »
    »
    15 months ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    I tried first for 1 hour and then read it but I didn't get it

  • »
    »
    15 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    anyway if you can please help with this.

    • »
      »
      »
      15 months ago, # ^ |
        Vote: I like it +8 Vote: I do not like it

      3 cases to handle dp

      so which part you don't understand?

      • »
        »
        »
        »
        15 months ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        why do we need 3 parameters instead of 2 parameters like classical knapsack ( Subset) I knew we need more parameters but how this 3 parameters handle it?

        • »
          »
          »
          »
          »
          15 months ago, # ^ |
            Vote: I like it +8 Vote: I do not like it

          you show no effort in solving the problem

          I suggest leaving the question unsolved until you get something

          keep asking general question won't do any good

»
15 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by ContestFucker (previous revision, new revision, compare).