We will hold AtCoder Regular Contest 186.
- Contest URL: https://atcoder.jp/contests/arc186
- Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20241027T2100&p1=248
- Duration: 120 minutes
- Number of Tasks: 5
- Writer: nuip
- Tester: maroonrk
- Rated range: 1200 ~ 2799
The point values will be 800-900-900-900-1000 900-900-900-900-1000.
Note: This ARC also serves as a qualification round to select the 18 contestants for the Japanese national finals, making it significantly more difficult than a regular ARC. (For reference, the difficulty is close to that of ARC184.)
Due to circumstances, we replaced the tasks and changed the point values. Since there are no easy tasks, the difficulty level of solving one or more tasks has increased. Please be careful. Since the difficulty level is flat, we recommend reading all the tasks and not necessarily solving them in order.
We are looking forward to your participation!
Just wondering, is this JOI or something else?
You can switch to the Japanese version; it's a contest held by AtCoder.
I think that contest already had a difficulty of an AGC...Ok now it's even harder :(
The only difference between ARC184 and this is that I can solve ARC184A, but I can't solve the first problem of this one...
Upd: I actually solved A! A really nice constructive problem!
A is really great. It's possible to instantly find out how to reformulate it in terms of graphs but the dp on top of that idea is even better.
Auto comment: topic has been updated by atcoder_official (previous revision, new revision, compare).
circumstances
I found a hack for problem B:
Shouldn't output
1
?But I got
3
as result.As the first point:
$$$P_4 > P_2, P_4 > P_3$$$
As the second point:
$$$P_1 > P_4, P_2 > P_3$$$
So:
$$$P_1 > P_4 > P_2 > P_3$$$
Shouldn't be
1
?It isn't a valid sample. The answer should be
0
in your sample.Sorry,my fault.
It should be $$$P_{A_i} < P_i$$$ but not $$$P_{A_i} > P_i$$$.
How can I delete my comments:(
I found that:
zhoukangyang
have got the right answer,butstd
did not.Is there any story behind problem D?
I named the Polish sequence after Polish notation. https://en.wikipedia.org/wiki/Polish_notation.
The editorial of A says that:
However, I failed to construct such components with 2 rows and 3 columns. If we have something like this then the in-degree and out-degree of R1 and R2 will be different and reversing the edges won't give us a similar graph. What did I miss here?
Link to image (not sure why the upload doesn't work)
I guess you missed R1 -> C3 -> R2 -> C2 -> R1.
Thanks a lot! I missed that the component may contain multiple cycles and we only need to reverse one of them to get a similar graph.
what's this picture