| # | 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 | 156 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | Um_nik | 144 |
| 5 | Errichto | 139 |
| 6 | AmShZ | 138 |
| 7 | adamant | 137 |
| 8 | maroonrk | 133 |
| 9 | BledDest | 132 |
| 10 | qwexd | 129 |
|
0
I got confused by the way I defined how the operation goes the way I did it is that ai = ai — 2* ai-1 the array increase more if the ai was negative, but the way the operation is defined makes that impossible. I had a brain fart! |
|
0
Why is this test case of problem 2 a "NO" The array should act like this [5, 6, 0, 2, 3, 0] to [0, -4, -5, 2, 3, 0] to [0, 0, 3, 6, 3, 0] to [0, 0, 0, 0, 0, 0] Making the answer YES because you can turn the whole array into Zeros. |
| Name |
|---|


