Hi, I cant get this problem from editorial.
Please Help ==> https://codeforces.me/problemset/problem/687/C
Thanks in advance.
Hi, I cant get this problem from editorial.
Please Help ==> https://codeforces.me/problemset/problem/687/C
Thanks in advance.
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | Kevin114514 | 3659 |
| 3 | jiangly | 3640 |
| 4 | turmax | 3450 |
| 5 | tourist | 3382 |
| 6 | strapple | 3360 |
| 7 | Um_nik | 3354 |
| 8 | squareOf105 | 3348 |
| 9 | maroonrk | 3312 |
| 10 | idontwannadothis…e | 3191 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 155 |
| 2 | nik_exists | 151 |
| 3 | maspy | 149 |
| 4 | AmShZ | 145 |
| 5 | Um_nik | 143 |
| 6 | Errichto | 139 |
| 7 | BledDest | 136 |
| 8 | adamant | 134 |
| 9 | maroonrk | 132 |
| 10 | cry | 130 |
| Name |
|---|



what if other people say the same thing from editorial?
you must show your effort on the problem first
I tried first for 1 hour and then read it but I didn't get it
anyway if you can please help with this.
3 cases to handle dp
so which part you don't understand?
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?
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
Auto comment: topic has been updated by BanazadehAria (previous revision, new revision, compare).