| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | turmax | 3559 |
| 6 | tourist | 3541 |
| 7 | strapple | 3515 |
| 8 | ksun48 | 3461 |
| 9 | dXqwq | 3436 |
| 10 | Otomachi_Una | 3413 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 157 |
| 2 | adamant | 153 |
| 3 | Um_nik | 147 |
| 4 | Proof_by_QED | 146 |
| 5 | Dominater069 | 145 |
| 6 | errorgorn | 142 |
| 7 | cry | 139 |
| 8 | YuukiS | 135 |
| 9 | TheScrasse | 134 |
| 10 | chromate00 | 133 |
|
0
noice |
|
0
Substring can always be the whole string so if you add all the characters then the answer can overflow the limit of k or the answer can also underflow the limit of k. Hence if this is the case then answer is -1. Else build the solution of K length string first then add remaining or how ever you want to build your string. My sol |
|
0
This is my wrong ans for E Wrong Sol. and i just corrected it to max(n, m) < k then also no answer and it passed :) Correct Solution. I now want to cry more hard. |
|
0
i feel like problems D onwards are nice, would not say such about c1, c2 |
|
0
same, i think i am retarded |
|
0
Bottom up pull DP for C -> Click |
|
0
Solved C like nothing, bricked at B. Nice Problemset. Here's my weird solution to C. Solution |
|
0
yup C is easy but you can easily make wrong guesses hence increasing penalities. |
|
0
maybe due to its wording, a more clear statement would have done its job. |
|
0
|
|
0
Link so essentially we would store all the values, now sort it out so that our X indexes become from small to large. Now, lets take our y index as a target to see. Now iterating on the values of x, y and color, if we find a color that is white, we essentially take the minimum as it value of y. Now if we get color as black, if its y coordinates is greater than our maximum permissible value, we cannot have it at that position, we output no. Else we go over all values and output yes at the end. If you dont understand the point of why a minimum should be always considered, you can observe that in the diagram given in the question. We get a ladder like structure. |
|
0
Translate the japanese editorial via language model, donno they stopped recently |
|
+1
yup you maybe right. i solved b and c in practice. If i dont solve a problem in 20 mins or dont feel problem is nice, i leave the contest. Then again, if people keep cheating, guess what, you dont get what you deserve. Plus i am into linux and backend, i just spend some free time here :) I also got 3k rank at atcoder today :) |
|
+1
so even specialists are cheating now ? |
|
0
Oh i got it, thanks to you i switched it to fenwick tree for range calculation, it worked. Link And stimulating for each segment is also great, Thanks. |
|
0
could you elaborate the need of prefix sums, i still dont get it |
|
+6
I overcomplicated it and am crying now. |
|
0
Solved Problem C via Fenwick Tree. One of the best problems i have ever solved. Thanks. |
|
-18
It clashed with leetcode's contest. Maybe that's the reason. |
|
0
me too |
|
0
Same with B ig |
|
0
I thought there must be some proof and did not see the standings assuming it was hard, i fcdkup :) |
|
On
thePointyEnd →
I struggle with 3D DP problems. Can you recommend some good 3-D DP problems to practice?, 18 months ago
0
I think I have seen that problem on atcoder. I think it was C and was solved via bitmasking as the constraints were really low. Could you link to the problem or mention the constraints if so. Thanks. |
|
0
Nice progress. Do you use any other judges ? |
|
0
its just greedy, We just get the maximum as it should be different cars, then divide by the given limit X, add 1 if remainder. I dont think its even a standard problem. If so, i would also like to know how. |
|
0
nice problemset, thankyou |
|
On
dorjderem →
Anyone who comments under this post has to reach CM by September if can't...., 2 years ago
0
les goo |
| Name |
|---|


