atcoder_official's blog

By atcoder_official, history, 7 weeks ago, In English

We will hold AtCoder Beginner Contest 467.

We are looking forward to your participation!

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

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Let's see how it goes

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Hope I can solve 6 problems.

»
7 weeks ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

What's wrong with the floating point today?

»
7 weeks ago, hide # |
 
Vote: I like it -10 Vote: I do not like it

The first problem is the easiest one I've have ever done!!! (OoO)

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Hope it's going well!

»
7 weeks ago, hide # |
 
Vote: I like it -10 Vote: I do not like it

Who turned the FG problem into a data structure problem?

»
7 weeks ago, hide # |
 
Vote: I like it -10 Vote: I do not like it

Problem C is more difficult than the previous ones.

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

if ( a % 2 != current_p ) { ops ++; }

Where is the mistake in this code? Please!!!

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I was only able to solve $$$A$$$ and $$$B$$$ :(

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I was able to solve A, B, and D... can someone provide a solution for C? So hard :(

  • »
    »
    7 weeks ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    how did you even solve D dude!! I got no idea then skip to E then fail miserably 🥀

    for C just case work it into if you make A[1] even, if you make A[1] odd, the the choice of how much to add to A[2], A[3], and so on is deterministic by parity.

    i.e. if B[i] = 1 its neccessary that A[i] and A[i+1] has different parity

    and if B[i] = 0 its neccessary that A[i] and A[i+1] has same parity

    • »
      »
      »
      7 weeks ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      For D, just create two equations equating radii and then use det to find solve conditions...

      Specifically, use (x-Px)^2+(y-Py)^2=(x-Qx)^2+(y-Qy)^2 and (x-Sx)^2+(y-Sy)^2=(x-Rx)^2+(y-Ry)^2

      then use det conditions..

    • »
      »
      »
      7 weeks ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      Yoo you solved C! great job man, so how would your algorithm work for say A = 010010 and B = 01100, just want to understand, thanks

      • »
        »
        »
        »
        7 weeks ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        https://atcoder.jp/contests/abc467/submissions/77588124 I hope this help, I'll try to not write long so its does not overwhelm, I case work it into two case, if we make A[0] even, if we make A[0] odd, (I use 0 base index so its start with A[0])

        then we consider i=1,2,... so on iteratively

        check if (A[i-1] + A[i]) === B[i-1] (mod 2) already, if not we have to do +1 right? if so we do on ith element so A[i]+=1 hornestly I think my explanation is shit, somebody could prolly do better, I'm sorry brother please consult other or just look at editorial

  • »
    »
    7 weeks ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    There can only every exist two unique sequences (considering all the elements $$${mod}$$$ $$$2$$$) which satisfy $$$(A_i + A_{i+1}) \equiv B_i \pmod{m}$$$ for all $$$1 \leq i \leq n-1$$$.

    These can be found out by modifying the prior condition to:

    $$$A_{i+1} \equiv {B_i - A_i} \pmod{m}$$$

    Hence, if we know know the first element we can always re create the entire sequence. So, we first assume the first element to be 0 and then 1. And choose the better case of the two as final state.

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Was only able to solve A and B as well... how on earth do you solve C?? Anyway, this is my second atcoder contest so I hope to keep improving, hope you guys did well!

  • »
    »
    7 weeks ago, hide # ^ |
    Rev. 5  
    Vote: I like it 0 Vote: I do not like it

    This is my 82nd contest,my rated is 1323.but I only solve AB because Iwant to solve Cand E together that problem look easy but I failed. 1323->1267,-56.5555555555555555555555555555555fuck. Fuck d,It looks so easy but but many detail

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I only solved A, B, and D.

I think C was harder than D. :(

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

First AtCoder contest. Learned a lot today. Looking forward to improving!

»
7 weeks ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

pure math contest ):

»
7 weeks ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

The contest is like a shit!

Why the Problem D inspects the carefulness‌ instead of the algorithm ability!

Why the Problem A inspects the precision so much that it's easy to get a penalty time.

»
7 weeks ago, hide # |
Rev. 3  
Vote: I like it +8 Vote: I do not like it

What’s the point of constant-factor optimization in the $$$O(n\log^3 n)$$$ solution to Problem G

I think either all 3log solutions should pass comfortably, or none of them should be allowed to pass.

  • »
    »
    7 weeks ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    神秘大佬30min过G,告诉我他G的写法是暴力分块。。。

  • »
    »
    7 weeks ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    It's practically impossible to allow all $$$O(n \log^2 n)$$$ while reject all $$$O(n \log^3 n)$$$. The writer's intention of the problem seems introducing $$$O(n \log^2 n)$$$ solution, which is designed to pass comfortably, but also inevitably allow some fast variants of $$$O(n \log^3 n)$$$.

»
7 weeks ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

Rubbish.

»
7 weeks ago, hide # |
 
Vote: I like it +5 Vote: I do not like it

Rubbish contest.

»
7 weeks ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

E seems so difficult but have 1000+ solves,can someone explain,i don't understand the editorial.

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Atcoder Math Contest

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Can anyone explain problem E i have doubt how we find r[0] as we have to sum over all r[i] and once we find r[0] all other expressions depends on r[0] only and if I want to find r[0] by traverse from 0 to 10^9(M) then it's gave me TLE also I find that we can build a function and here only one variable is r[0] and then I have to check whether this function gave us maximum but how to implement I have no idea.

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

how to solve E?

»
7 weeks ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

Trash.

»
6 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Did anyone get AC with sqrt heuristics in G?

»
6 weeks ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

Ex:the editorial of G's first merge-sort tree is on the indices.

»
6 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

My account has been banned for unknown reasons. Please explain the reason and lift the ban. I did not violate any competition rules. My account: xuyifei0302.