| # | User | Rating |
|---|---|---|
| 1 | Benq | 3857 |
| 2 | jiangly | 3810 |
| 3 | maroonrk | 3534 |
| 4 | tourist | 3528 |
| 5 | Kevin114514 | 3510 |
| 6 | turmax | 3411 |
| 7 | Um_nik | 3387 |
| 8 | Radewoosh | 3367 |
| 9 | heuristica | 3322 |
| 10 | strapple | 3317 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | maspy | 150 |
| 3 | Um_nik | 146 |
| 4 | Errichto | 139 |
| 5 | adamant | 136 |
| 6 | maroonrk | 134 |
| 7 | DNR | 133 |
| 8 | Dominater069 | 131 |
| 9 | Proof_by_QED | 130 |
| 9 | AmShZ | 130 |
|
0
" This ensures that any two vertices of the same color have a difference that is a multiple of 4, so their XOR is a multiple of 4" Can anyone explain for me this line |
|
0
First, thank for very good contest and fast editorial I am going to share my O(n) solution for D We can notice that in optimal solution, monster in node v can be kill in at mode |v| round (|v| is number of node have the same edge with D, round number from 0) So we can call dp[v][round]: minimum number of health decreases when kill monster in node v after "round" dp[v][round]= ∑_(u ∈chill of v) (min)(dp[u][j]) (j ≠round) (sorry, i don't know how to write beautiful fomular) we can use pref_min and suf_min to quickly calculate Node that we must update parent value from chill due to tle Here is my code 270747003 |
|
0
Your contest is very good. But what i do when i have stuck (except ask other, because is take much time), I don't find any editorial or can view code of other. Can you public your code for each problem and few hint? |
|
0
In problem D, it seems that there is no answer for n which is even, can anyone prove this? |
|
0
There are a lot of online problems, so inventing new problems without duplication is very hard for setter |
|
+13
And sometimes "homework" is harder than the actual problem, so we just "prove it by AC" |
|
0
I agree. Some people will use two accounts, and submit in the account which uses the unrate option until it has AC. Then change some code (like the variable name), and submit it to the main account. |
|
0
How can I do research like this for my account (i.e what code u use to make this) |
|
0
Can u add your code following this explanation? |
|
+15
problems about mex is quite fun. That contest is so hard but I have learned so much from it. Thank you to take time for preparing such a contest |
|
0
|
|
0
Do anyone know 42th subtest of test 2 of problem D. I can not pass this anyway |
|
0
It is the greatest contest I have ever seen |
|
0
I don't know how to explain this clearly. But the key is the minus and the add extend in a different direction |
|
0
Sorry for my mistake. I had to fix it and now this code uses only 156KB of memory 220627524 |
|
+1
for some x, say 19 whose binary representation is 10011 = 2^4 + 2^1 + 2^0. You can see that 2^1 divide 2^4, 2^0 divide 2^4, 2^0 divide 2^4. So the answer is you just minus the rightmost bit to x, in this case, is 2^0 and 2^1 until x has only one bit in binary representation. P/S: Sorry for my bad English. Hope you understand this explanation |
|
+5
Another implement for D whose time complexity is O(n^2) but only O(n) space 220627524. The logic in this code may cause you confused, in this case, ask me(and vote) |
|
0
The word "graph" appears only once in this tutorial, for 9 problem |
|
0
about x13837 participants can solve C but only x5448 participants can solve B |
|
+1
Great idea. You can use setw() to make it more beautiful like this code |
| Name |
|---|


