BanazadehAria's blog

By BanazadehAria, history, 5 years ago, In English

Hi, I cant get this problem from editorial.

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

Thanks in advance.

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

»
5 years 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

  • »
    »
    5 years 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

  • »
    »
    5 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    anyway if you can please help with this.

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

      3 cases to handle dp

      so which part you don't understand?

      • »
        »
        »
        »
        5 years 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?

        • »
          »
          »
          »
          »
          5 years 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

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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