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

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

We will hold AtCoder Grand Contest 075. This contest counts for GP30 scores.

The point values will be 600-800-1200-1200-1600.

We are looking forward to your participation!

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

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

Problem B is similar to https://qoj.ac/problem/8582

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

People who solved A must have the same brainwave with PCTprobability. It takes me 65:28 to solve the sweet honey A.

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

why this contest can be an AGC?

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

I think it's possible to do $$$k=10^6$$$ in D, because you don't actually have to iterate through all maximum pairs $$$(x,y)$$$ as stated in the editorial. Instead, by just knowing the maximum value $$$x$$$, we can calculate the total contribution of all $$$y$$$ with some case analysis. Since we still need matrix multiplication or BM, the complexity is $$$O(k\log n)$$$.

By setting $$$k=10^4$$$, some even more brute force solution might pass, like iterating through the maximum $$$3$$$ values (there are only around $$$10^6$$$ such tuples that are meaningful).

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

Can anyone prove my example in A? For odd $$$n$$$, pattern is like this (here $$$n = 9$$$):

111111111
100000000
101111110
101000010
101011010
101011010
101000010
101111110
100000000
  • »
    »
    4 месяца назад, скрыть # ^ |
    Rev. 3  
    Проголосовать: нравится +61 Проголосовать: не нравится

    Everything works, where $$$a[i][j] \neq a[n+1-j][n+1-i]$$$, and the $$$i+j=n+1$$$ diagonal is $$$0101 \cdots 1010$$$.

    There is an obvious bijection between the 0 paths and 1 paths without the middle diagonal. And the rest of the proof is the same.

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

Why B less people solved but less score than D. I solved B but didn't have enough time think D. I lost so many extra rating because of this.