AtCoder Grand Contest 012 will be held on Saturday (time). The writer is camypaper.
The point values are 300 — 700(200) — 1000 — 1000 — 1000 — 2000.
Let's discuss problems after the contest.
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | awoo | 154 |
8 | Dominater069 | 154 |
10 | luogu_official | 150 |
AtCoder Grand Contest 012 will be held on Saturday (time). The writer is camypaper.
The point values are 300 — 700(200) — 1000 — 1000 — 1000 — 2000.
Let's discuss problems after the contest.
Name |
---|
Sorry, but what does 700(200) mean? Is it partial score?
Yes
I actually forget every time what it means. It means 700+200 or 500+200?
It is 200+500, aka you get a total of 200 for solving the subtask, and a total of 700 for solving the whole task.
Do you get time penalty (for a wrong submission) towards 700 if you solve only 200?
Will we have editorials in english this time ?
There has always been English editorials for all Atcoder Grand Contests.
gonna participate this one after months of blank
Wow! japan server near my country which is Philippines, meaning I dont have to stay up late at night when participating in contests :)
I give up... I know Grand Contests are usually very difficult, but today contest seems only made for red guy on Codeforces...
Tasks weren't that hard in my opinion, at least implementation was easy. They required more thinking instead of coding.
That's kind of how most Atcoder problems are; not tedious to implement but hard to solve.
After I read the editorial for problem B to E, problem seems easier than I thought.
I think I need to practice more on contest like this to improve my thinking skill.
That moment when you're ~2 minutes from getting AC (on D) T_T
Never forget the line
in the merge function of DSU again T_T
Thanks for the fun problemset! I thought today had some interesting challenges. Even though I only solved A,C,D I think the solution to problem B and E are also very nice and are my favorite problems today.
Personally, I am still kicking myself for not seeing the solution to C quickly enough, but what can you do.
why e 1000pt TTTT
It is because of all the silly people like me who do not know how to use bitmask dp. (for example, IOI p2 subtask 2)
EDIT: Oops. Since you solved E I assumed you meant it was easy.
Well I thought it deserved more points :p I had both hard time figuring it out and implementing it. I think problem D is super easier than E (I read it after contest)
Don't miss square869120Contest #4 on April 9th on atcoder!!!
https://s8pc-4.contest.atcoder.jp/
Is there any reason why you don't make these rounds part of atcoder regular/grand contests?
I thought it was the most difficult AGC ever. (but with really nice problems)
Maybe it's because I'm so naive
and my rating -= 1
Is there anyone who solved B for full points in other way than mentioned in the editorial???
I did (well upsolved, I couldn't participate in the contest). I know your question is pretty old but I thought that you might find the answer useful in some way. I just kept some sort of dp: lst[i][j] = the id of the last operation that affected the node j in such a way that j, at its turn, would affect the nodes at distance i from itself. The recurrence is something like update for each (i, u), lst[i — 1][v] for each v such that v is a neighbour of u with lst[i][u]. You could check out my source for more details: http://agc012.contest.atcoder.jp/submissions/1452611
Thanks I still had not upsolved the question .Editorial was tough for me. I will try to solve with the help of your approach :)
Thank you for your participation! We're sorry for score of problem E (we thought this problem was easier than other AGC E).
Could you enjoy my problems? I strongly recommend to try problem F. I think it's REALLY interesting and beautiful problem!!
Thanks for the very nice problem set. I tried to solve F, understood the part in the editorial saying "there is no (i, j) pair with i < j, and bj < bi < bj + 1", but I am stuck at how to go from there to the dynamic programming solution dp[i][j][k], where i is the number of values filled from the end, j is the number of candidates, and the k-th candidate is chosen. Could someone elaborate on this part ?
Ok, finally got it: j is the number of candidates for the next element.
ainta's submission matches the explanation of the editorial.
Can anyone explain why in the editorial of D, we are taking two minimums a1 and a2. Thanks.
It is the critical point that a1's color is different from a2's color.
Basically, we can use a1 to change the position of balls. However we have to use a2 to change the position of balls which color are the same of a1. We don't need to use the other balls in operation2. Because the other balls' weight are heavyier than a1 and a2.
Could you got it?
OKAY. Finally got it. Thanks a lot. Awesome problemset.
Here is an alternative solution, which also explains that:
What's the intuition behind the trick used in the solution to problem C ?
When I started to think this problem, the definition of good string is different from current definition. The condition is like this: x can be represented as yyzz (not yy).
Under this constraints, it is tough to use a character three times. Thus, I came up with this approach.
. Ignore — understood from the image.