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

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

We will hold AtCoder Regular Contest 199 (Div. 1).

The point values will be 800-800-900-1000.

We are looking forward to your participation!

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

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

The AGC-ization of ARC is real...

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

A wasted me half a round ... Nice problem but it's too alien-like.

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

In problem B I wonder why my solution is wrong.As you can see,first I can find all subsequences that xor up to K using Linear Basis.Also I think that among all subsequences,only 1,3,5,...n-[n is even] or 2,4,6,,...,n-[n is odd] cannot be produce.Otherwise I can make a construction.Why does that result in WA?

  • »
    »
    18 месяцев назад, скрыть # ^ |
    ← Rev. 3  
    Проголосовать: нравится 0 Проголосовать: не нравится

    If you find a subset that has a xor sum = K and that subset is 1,3,5... or 0,2,4,6... but there is another subset has a xor sum = K and is not 1,3,5... or 0,2,4,6..., you will get WA. To avoid this, the method in Official Editorial is good.

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

A and B both were very nice.

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

ARC Div1 should be renamed as AGC Div2. What do you think?

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

Can you public some of the B's test cases. It's hard to debug.

Edit: OK, debug B is not so that hard. I've got a good method to debug B, If you can pass all $$$K\in[0,1023]$$$ if $$$A=[1,2,4,8,16,32,64,128,256,512]$$$, you can have a high chance to get AC. I don't need test cases any more. Thanks.