Блог пользователя maroonrk

Автор maroonrk, история, 3 года назад, По-английски

We will hold AtCoder Regular Contest 155.

The point values will be 400-500-700-800-900-1000.

We are looking forward to your participation!

  • Проголосовать: нравится
  • +93
  • Проголосовать: не нравится

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

omg 400-points-A round

»
3 года назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится
Spoiler : after seen 1st problem me :(
»
3 года назад, скрыть # |
 
Проголосовать: нравится +17 Проголосовать: не нравится

TOO HARD

»
3 года назад, скрыть # |
 
Проголосовать: нравится +14 Проголосовать: не нравится

0 questions solved in a contest after very long :(

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Definitely too hard for ARC.
Is this really ARC and not AGC?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +23 Проголосовать: не нравится

TOOOO Hard

»
3 года назад, скрыть # |
 
Проголосовать: нравится +27 Проголосовать: не нравится

Hi there from the 4th place!

Generally, most definitely, thank you for the contest!! But here's some feedback:

  • As many will moan here together with me, A was too hard for its slot.
  • С is nice, but some parts can be guessed-without-proof. May be, asking for the entire procedure of swaps would be a better check for whether a contestant got all the needed ideas.
  • I solved E, but I do not understand a single thing about its solution. I just guessed what you could possibly ask me to do on position E with a matrix up to 300×300, and then tried to figure out the ±1 ending by chance. That makes me happy with the result but unhappy about its fairness.
»
3 года назад, скрыть # |
 
Проголосовать: нравится +38 Проголосовать: не нравится

AtCoder Regular Corner-case, struggled for Problem A and C in the whole contest.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +42 Проголосовать: не нравится

Good problems but the samples are too weak. Maybe give a stronger sample the next time?

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится +12 Проголосовать: не нравится

TOOOO Hard!My classmate who get 11st in arc154 did't solve any problem!(I only solve one!) if you don't belive ,than i'll tell you his id :jbwlgvc(look it!)

»
3 года назад, скрыть # |
 
Проголосовать: нравится +30 Проголосовать: не нравится

I only solved D, couldn't manage to solve neither A nor B in 40 minutes :D

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

From the editorial of D (evima):

if $$$1 \lt \gcd (A_i, G) \lt G$$$ for some $$$A_i$$$, then $$$A_i$$$ always remain on the blackboard

Am I missing something essential? Isn't this obviously false according to the statement? Maybe you wanted to express something else using the word "always"?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

I solved D using a simple dfs . But the time complexity may be wrong .

https://atcoder.jp/contests/arc155/submissions/38465395

»
3 года назад, скрыть # |
 
Проголосовать: нравится +14 Проголосовать: не нравится

Problem A was Too hard.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +21 Проголосовать: не нравится
»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Problem A is really treasure! I think my idea is quite close to the editorial (reduce large k to small one and handle the case with O(N) size), but I have never thought about using mod=2*n.

This may sound a little bit sad but I have considered using n or 3n, which gave me nothing :(

»
3 года назад, скрыть # |
Rev. 4  
Проголосовать: нравится +82 Проголосовать: не нравится

An algebraic approach on F (sketch):

Imagine the edge between $$$i$$$ and $$$j$$$ has weight $$$x_i + x_j$$$, we want to compute the coefficient of $$$x_1^{d_1} \cdots x_n^{d_n}$$$ among the total weight of all spanning trees. We can apply the matrix tree theorem.

Let $$$s = \sum x_i$$$, $$$\boldsymbol x$$$ be the vector of $$$x_i$$$ s, $$$\boldsymbol 1$$$ be the all-one vector.

Therefore, the Laplacian matrix is

$$$ L=\operatorname{diag}(nx_i + s) - \boldsymbol 1\boldsymbol x^{\mathsf T} - \boldsymbol x \boldsymbol 1^{\mathsf T} $$$

Wlog assume $$$d_n = 0$$$, we compute the determinant of $$$L$$$ removing the last row and column. We assume all indices are from $$$1$$$ to $$$n-1$$$ later. Note that $$$\boldsymbol 1\boldsymbol x^{\mathsf T} + \boldsymbol x \boldsymbol 1^{\mathsf T}$$$ has rank $$$2$$$, the expansion of determinant is simple, we have

$$$ Ans = \prod_{i} (nx_i + s) + \sum_i (-2x_i) \prod_{j\neq i}(nx_j + s) + \sum_{i \lt j}(2x_ix_j - x_i^2 - x_j^2) \prod_{k\neq i,j} (nx_k + s). $$$

For the first term, we have

$$$ [x_1^{d_1}\cdots x_{n-1}^{d_{n-1}}]\prod_{i} (nx_i + s) = T\left( \prod_{i=1}^{n-1} \left( n\frac{x^{d_i-1}}{(d_i-1)!} + \frac{x^{d_i}}{d_i!} \right) \right), $$$

where $$$T$$$ is the linear functional, mapping $$$x^\ell$$$ to $$$\ell!$$$.

The rest terms can be treated in a similar way.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

Problem A was Too hard that a person whose rating 2700+ cant' solve it!.

https://atcoder.jp/contests/arc155/standings?watching=Barichek

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится +22 Проголосовать: не нравится

Hack on problem D:

Input:

6
2 2 6 15 30 30

Expected output:

Takahashi
Takahashi
Aoki
Aoki
Aoki
Aoki

Output of hacked solution:

Takahashi
Takahashi
Aoki
Aoki
Takahashi
Takahashi
»
5 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Hi maroonrk, there is something wrong with the editorial. In solutions for E, $$$Ai + 1$$$ should be $$$A_{i + 1}$$$.