Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

Автор rng_58, история, 8 лет назад, По-английски

AtCoder Grand Contest 011 will be held on Sunday (time). The writer is semiexp.

Contest Link

Contest Announcement

The point values are 300 — 400 — 800 — 900 — 1300 — 1700 (?).

Let's discuss problems after the contest.

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

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

Meh, overlaps with Deadline24 quals by just one hour :(

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится +9 Проголосовать: не нравится

    Hmm, I didn't care much about the collision of marathon contest and algorithm contest, but it seems it affected the international participants a lot. We'll avoid the collision in the future.

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

Contest starts in under three hours.

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

Nice contest!

There's no editorial yet, how to solve D?

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится +21 Проголосовать: не нравится
    1. Observe that if the first character of S is A then it becomes B, otherwise everything flip, and we delete the first element, and add a 'A' at the end.

    2. Convince yourself that the sequence becomes more or less static very fast.

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится +21 Проголосовать: не нравится

    Uploaded.

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

Gonna like atcoder's contests. The problems were non-obvious(at least C and D, didn't read E and F), it was hard for me to find the solution instantly.

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

B reminds Fish from IOI'08 a bit

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

Can someone please explain how to do C ??? The editorial is may be according to me a bit complex ....

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

    The point is that the contribution of each and every two connected component differs by whether it is a bipartite graph. Leave the single point alone, in a single connected component, you can color the graph with black & white (two side of each edge have different colors). If possible, pair (black, white) will attach to a (white, black) with an edge, and it cannot connect with point like pair (white, white) and (black, black).

    Likewise, you can use similar way to calculate the contribution of two distinct connected components.

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

What was the intended difficulty of the problems in terms of top coder point values?

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

Seams that E is easier than D and F. 500 points F suddenly got to be almost the whole solution. :(

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится -7 Проголосовать: не нравится

    I think if you get (or somehow already know) the reunity number fact it's much easier to proceed, but without that D is definitely easier than E.

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Yes, I agree that F's partial score is much harder than 500 points, but it's somewhat difficult to give partial points. For example, if we give 1200 points for it, the difference between the full score and the partial score is also much bigger than 500 points.

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

In E, Increasing Numbers, we need to check if r_1,r_2,...r_9k exist. We check it by checking if sum of digits of decimal representation of 9N+9k is "at most" 9k. But how does it guarantee it can be written in exactly 9k powers of 10?

For example: 1 can only be written in just 1 power of 10 i.e. 0 but not 9 powers of 10.

  • »
    »
    8 лет назад, # ^ |
    Rev. 2   Проголосовать: нравится +1 Проголосовать: не нравится

    If you can represent n as sum of k powers of 10 then you can do it also using k+9 powers of 10 (if that's not greater than n). Moreover 9n+9k is divisible by 9, so its sum of digits is also divisible by 9.

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

The editorial for C says "there is an edge between (a, b) and (a', b') iff there exists a path of length l between a and a' and a pathbof length l between b and b'". Isn't it supposed to be path between (a, b) and (a', b')?