| # | User | Rating |
|---|---|---|
| 1 | jiangly | 3810 |
| 2 | Benq | 3676 |
| 3 | Kevin114514 | 3655 |
| 4 | maroonrk | 3463 |
| 5 | strapple | 3390 |
| 6 | Um_nik | 3387 |
| 7 | tourist | 3384 |
| 8 | heuristica | 3322 |
| 9 | turmax | 3319 |
| 10 | jiangbowen | 3291 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 155 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | Um_nik | 143 |
| 5 | AmShZ | 142 |
| 6 | Errichto | 139 |
| 7 | adamant | 137 |
| 8 | maroonrk | 133 |
| 9 | BledDest | 132 |
| 10 | qwexd | 129 |
|
+12
Each given [l, r] segment can be represented as a linear equation in Z2: a1x1 + a2x2 + ... + anxn = c with ai = 0 if i < l or i > r, and ai = 1 if l ≤ i ≤ r, c = 0 or 1. We must find the minimum number of equations to be erased so that the system of remaining equations can not be solved. The solution you mentioned simply calculate Gauss Elimination of given system of equations over Z2. If you can not find a pivot at some step of Gauss Elimination, you can't solve the system of equations, so that solution find number of vectors that can be picked as pivot and erase them all. I don't think it can be called DP, it's just using array to count vectors. And that solution is just another approach beside the minimum cut approach to this problem. |
| Name |
|---|


