atcoder_official's blog

By atcoder_official, history, 4 months ago, In English

We will hold AtCoder Regular Contest 222.

We are looking forward to your participation!

  • Vote: I like it
  • -265
  • Vote: I do not like it

»
4 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Is this not ARC--? I always assumed ARC++ is explicitly mentioned, so this would be the ARC-- edition.

»
4 months ago, hide # |
 
Vote: I like it -8 Vote: I do not like it

The Problem A of this ARC contest is only worth 300 points and Problem F is just 700 points. Would it be more appropriate to classify this contest as an ARC--?

»
4 months ago, hide # |
← Rev. 2  
Vote: I like it +279 Vote: I do not like it

Dear Atcoder Official, can you show the code the previous winner atgc(banned) submitted for each problem? 'atgc' is a strong and famous Chinese Informatics competitor. I am wondering if he was banned by mistake.

  • »
    »
    4 months ago, hide # ^ |
    ← Rev. 2  
    Vote: I like it +42 Vote: I do not like it

    To be honest, not just me—I don't think any Chinese competitor believes he would cheat.

  • »
    »
    4 months ago, hide # ^ |
    ← Rev. 2  
    Vote: I like it +36 Vote: I do not like it

    This is not the first time when a legit player is banned. User MCYYDS (AtCoder) competed in arc218, solved F2, then banned, without any reason. The user himself asked AtCoder via zendesk but the response is "violated the rules" WITHOUT ANY clear/detailed information.

    I believe AtCoder is having cheater-PTSD so every strong participant, once "suspected" as AI, will be banned.

»
4 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

can someone share the code for the problem B please with explanation if possible ?

»
4 months ago, hide # |
 
Vote: I like it +14 Vote: I do not like it

Is this simple solution of E intended?

We add values to a set $$$S$$$ in descending order of occurrences on the input. For each new value $$$a$$$, we multiply its number of occurrences by $$$\sum_{i \in S} 10^{a \oplus i}$$$ and add it to the answer.

Brute force would be $$$O(4^N)$$$, so we use a meet-in-the-middle approach. Let's denote the lower and upper $$$M/2$$$ bits by subscripts $$$\cdot_{lo}$$$ and $$$\cdot_{hi}$$$ respectively. We store the sums $$$\sum_{i \in S} 10^{a_{lo} \oplus i_{lo}}$$$ for each possible combination of $$$a_{lo}$$$ and $$$i_{hi}$$$. Inserting $$$i$$$ into $$$S$$$ requires only updating those values for fixed $$$i_{hi}$$$. A query requires looking up only values for fixed $$$a_{hi}$$$; we multiply them by $$$10^{a_{hi} \oplus i_{hi}}$$$ since $$$a \oplus i = a_{hi} \oplus i_{hi} + a_{lo} \oplus i_{lo}$$$. Complexity: $$$O(2^{3M/2})$$$ time, $$$O(2^M)$$$ memory.

We can also use the fact that $$$N \ll 2^M$$$ and stop when the number of occurrences of the currently processed value reaches $$$0$$$, bringing the complexity down to $$$O(N 2^{M/2})$$$.