| # | 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 |
|
+5
The second inequality comes directly from the first one. The main idea of the construction is to fill the columns with The tricky part is when the number of columns is odd. In this case, we can construct a special case for three columns and expand to the case of any odd columns. |
|
+5
To make it easier, let's assume There is a naive upper bound for the number of rows: |
|
+5
Proof: adv(0) is the number of men needed to increase percentage from 0% to at least 0.5%. Hence
Then finally we have |
|
+5
The greedy approach works for n ≥ 200 (not sure if it works for n < 200). Here's the idea Let pct(i) be the rounded percentage for i / n. And adv(i) be the least number such that pct(adv(i)) = pct(i) + 1, i.e. the least number of men required to increase the rounded percentage by 1 (always exists for n ≥ 200) The sum we have before determining the unknown is The key to the greedy approach is there can be infinitely many new languages, which means we can always add adv(0) to a new language to increase the answer by 1. For n ≥ 200, it's easy to prove that PS. I actually think this is what the tutorial is trying to say, though they explained it poorly. |
|
0
The final standing is here: http://moscode.it-edu.mipt.ru/team2018 |
|
+5
You can deduce each element one by one. For example, to make the sequence |
|
+28
It can always be achieved with at most two operations [1, n], [1, n - 1]. So just check if it's possible to achieve in one operation. Otherwise, construct with the two intervals. |
|
0
We failed test 6 when we missed some initialization. No idea what the test is, though it should be a fairly simple test, IMO. |
|
+8
For problem D, we do dynamic programming on the state dp[odd][even][p], where odd, even is the number of connected components of odd/even size, p is the parity of the edges inside connected components that hasn't been added. UPD: turns out to be a silly bug, the above dynamic programming should be correct. |
|
+10
How to solve problem F? How do we use the constraint of |
|
+28
So what's the idea of the intended solution? Any hint? |
|
0
Do you mean it's equivalent to problem J of this contest? |
|
0
Is there any theoretical proof to the construction instead of verifying with a program? |
|
+22
No letter appears in more than one cell in the input grid. |
|
+15
Yep. It can be done greedily if you regard the value of a card as Of course you still have to handle some other cases :) |
|
0
Will there be an online mirror any where available on the Internet? |
|
0
That'll be Heavy-Light Decomposition. |
|
+6
Do anyone know how to solve Subtask 3 of Factories? I used Shortest Path to solve Subtask 1 and LCA plus brute-force for Subtask 2. |
|
+5
Can anyone explain how D-large is solved? Tks~ |
|
+8
Really appreciate the efforts from you guys. |
|
+17
When will the tutorial for E be available? Really looking forward to it!! |
|
0
I've got a problem with the site: is it possible to check out my own past submissions for a particular problem? |
|
-16
Please post the editorial for div. 1!!! |
| Name |
|---|


