Let's discuss about this software development competition.
Let's discuss about this software development competition.
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | Kevin114514 | 3659 |
| 3 | jiangly | 3640 |
| 4 | turmax | 3450 |
| 5 | tourist | 3382 |
| 6 | strapple | 3360 |
| 7 | Um_nik | 3354 |
| 8 | squareOf105 | 3348 |
| 9 | maroonrk | 3312 |
| 10 | idontwannadothis…e | 3191 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 155 |
| 2 | nik_exists | 151 |
| 3 | maspy | 149 |
| 4 | AmShZ | 145 |
| 5 | Um_nik | 143 |
| 6 | Errichto | 139 |
| 7 | BledDest | 136 |
| 8 | adamant | 134 |
| 9 | maroonrk | 132 |
| 10 | cry | 130 |
| Name |
|---|



Can anyone explain how to solve C?
I tried an $$$O(n^3)$$$ solution: enumerating all possible initial direction $$$(dx,dy)$$$,(which is $$$O(n^2$$$)) and then checking how many holes are lying in the same direction: $$$(x_i-x_j,y_i-y_j)=\alpha \cdot(dx,dy)$$$.
The holes lying in the same direction can always be reached because we can use a zig zag path to connect them.
And we can add two more additional holes as the start and end.
I thought it should work, but I got an WA for that. Is there anything wrong in my solution?
Suppose you have an even chain with a bunch of independent singletons. The optimal solution is to start from a singleton and traverse the whole chain (and you cannot pick anymore singletons in this case).
I see, I just misunderstand the problem statement.
I thought the ball could pass through the normal hole rather than stop :(
Thx!
Made the same mistake :'(
Somehow they managed to make a round 2 which is even more boring than last year.
For me, a contest is only boring if I solved all the problems (not only if). Else there are always something to learn.
I wonder what possible explanation there is for the correlation between the platform change and the quality drop in the contests.
Are you that upset about not noticing a case in B-small?
Something tells me it's not the competition's fault...
Why the heck is this being downvoted? I mean, just because you consider the round to be such-and-such doesn't mean others do too.
Or is just the herd instinct?