| # | User | Rating |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | jiangly | 3670 |
| 3 | Kevin114514 | 3657 |
| 4 | maroonrk | 3355 |
| 5 | Um_nik | 3353 |
| 6 | squareOf105 | 3346 |
| 7 | tourist | 3343 |
| 8 | strapple | 3324 |
| 9 | heuristica | 3322 |
| 10 | jiangbowen | 3291 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | AmShZ | 143 |
| 5 | Um_nik | 141 |
| 6 | Errichto | 139 |
| 7 | adamant | 137 |
| 8 | BledDest | 133 |
| 8 | maroonrk | 133 |
| 10 | qwexd | 130 |
|
0
|
|
+5
I also was not able to observe that and solved a harder problem, used prefix sum and ordered multiset. 275621322 |
|
On
dorjderem →
Anyone who comments under this post has to reach CM by September if can't...., 3 years ago
0
Let's do it. |
|
+8
coderdhanraj An editorial for both the rounds will be helpful. |
|
0
I got TLE too doing the same thing. Edit : it was not the same thing. |
|
+16
|
|
+6
She may be an LGM from an alt account as she has submitted 3000+ rated problems. Spoiler
|
|
0
|
|
0
Thanks for explaining. |
|
0
Congratulations!! Hoping to get there soon. |
|
0
Thanks. I get it now. |
|
0
I am getting tle in salary queries. my approach is using segment tree: saving the max and min at each nodes then calculating the answer similar to sum of a range. Please help me optimize this code. My Code |
|
0
My condolences to you. May her Soul rest in Peace. |
|
0
But this test case anyways has no solution, provide a test case in which iterating from the smallest value give wrong answer. |
|
0
"If we iterate from the smallest value to the top, there will be scenarios where all the remaining positions i will result in max(p[i],q[i])≥a[i] because you don't have enough smaller integers." This is written in the tutorial of problem C. Can anyone pls provide me a testcase where this scenario happens? |
|
0
Thanks for the comment, for last half an hour I was also thinking of xor. At first i thought you did a typing mistake an replace xor with or lol. |
| Name |
|---|


