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

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

We will hold Tokio Marine & Nichido Fire Insurance Programming Contest 2023(AtCoder Beginner Contest 307).

We are looking forward to your participation!

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

»
11 месяцев назад, # |
Rev. 3   Проголосовать: нравится 0 Проголосовать: не нравится

Hope this one's rated, sigh. (Wrote before the contest began, now I hope it isn't)

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

website broke

»
11 месяцев назад, # |
Rev. 2   Проголосовать: нравится +17 Проголосовать: не нравится

Seems like someone really doesn't like the "Tokio Marine & Nichido Fire Insurance".

Also C looks like the most unfun problem ever.

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

Is the website down, can't submit for a long time now!

»
11 месяцев назад, # |
Rev. 2   Проголосовать: нравится +43 Проголосовать: не нравится

Hi, no offence, but why are you holding contests every week when you have to make it unrated because of a DDoS attack or site lag? I understand the learning from the contests. Still, after giving a rated contest, if it becomes unrated, then most of the participants do not like it; please try to improve the Atcoder website and then hold contests, hoping today's contest remains rated.

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

    Presumably they have a decent queue of ABC-level problems so they're making ABCs. They're not holding higher level contests every week. Also not sure if problemsetters and site maintainers are the same people since that requires different skills — if they aren't, you just suggest that one group goes idle and prepared low level contests stack up.

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

    no, contests should happen ;we need problems

  • »
    »
    11 месяцев назад, # ^ |
    Rev. 4   Проголосовать: нравится +17 Проголосовать: не нравится

    I think they do try to make the website better. They just published a report (in Japanese) on the DDoS issue recently.

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

I would request the manga writers to write a manga on the attacks on atcoder

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

Problem C is sh*t.

»
11 месяцев назад, # |
Rev. 3   Проголосовать: нравится 0 Проголосовать: не нравится

I have another solution on E. Let dp[i] — the answer for n = i. Then dp[i] = m * ((m-1) ** (i-1)) — dp[i-1]. If someone wants to understand why — write me :)

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

Problem C ruined my whole contest

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

Solved C in time complexity $$$O(N^3M^3\log NM)$$$ or something with branching, what the actual fuck

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

    How ?

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

      saved black cells as coordinates in a set, decided that we can solve the task by transposing the coordinates, so bruteforced the transposition from $$$-10$$$ to $$$10$$$ in a four-layer loop (seriously I don't even wanna find out the actual TC anymore, the task is a piece of shit)

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

worst problem C

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

how to solve E by inclusion exclusion

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

Hi.For F my algorithm was building a Dijkstra DAG and run a dp[i] = (min_day, max_span) but it gives wrong answer. Can someone help me point out the reason? Thanks!

My implementation: https://ideone.com/N6Y2xR

»
11 месяцев назад, # |
Rev. 3   Проголосовать: нравится +36 Проголосовать: не нравится

I have a curse about atcoder, that is, every time I have a good performance in atcoder contest, and this contest is unrated! And every time I do shit in a contest, this contest is rated! That is the reason why I am the master on codeforces, but cannot even get blue in atcoder.

I do shitty in this contest, have a ranking of 1300+, and it is rated again!

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

    Your solution assumes that there is a single pair of opening and closing brackets covering all the removed substrings. This is incorrect. Consider the case: n = 9, s = (ab)c(ab)

    Your approach marks ind[0] = 0 and ind[8] = 0, and hence would remove the entire string, however the correct answer is "c".

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

Nice contest

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

For problem F, I have confusion. I think the problem is stating that someone becomes infected on the (i-1)th day, and they remain infected through day ith and can spread infection to others. But after that they are no longer infected right, and can become infected again later? But it is only asking to return the earliest day they were infected on.

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

No questions about C++2320, did they added it?