snuke's blog

By snuke, history, 3 years ago, In English

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

We are looking forward to your participation!

  • Vote: I like it
  • +23
  • Vote: I do not like it

| Write comment?
»
3 years ago, hide # |
 
Vote: I like it +22 Vote: I do not like it

website broke

»
3 years ago, hide # |
Rev. 2  
Vote: I like it +17 Vote: I do not like it

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

Also C looks like the most unfun problem ever.

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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

»
3 years ago, hide # |
Rev. 2  
Vote: I like it +43 Vote: I do not like it

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.

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

    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.

  • »
    »
    3 years ago, hide # ^ |
    Rev. 2  
    Vote: I like it +9 Vote: I do not like it

    no, contests should happen ;we need problems

  • »
    »
    3 years ago, hide # ^ |
    Rev. 4  
    Vote: I like it +17 Vote: I do not like it

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

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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

»
3 years ago, hide # |
 
Vote: I like it +55 Vote: I do not like it

Problem C is sh*t.

»
3 years ago, hide # |
Rev. 3  
Vote: I like it 0 Vote: I do not like it

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 :)

»
3 years ago, hide # |
 
Vote: I like it +38 Vote: I do not like it

Problem C ruined my whole contest

»
3 years ago, hide # |
 
Vote: I like it +2 Vote: I do not like it

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

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

    How ?

    • »
      »
      »
      3 years ago, hide # ^ |
      Rev. 2  
      Vote: I like it +3 Vote: I do not like it

      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)

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

worst problem C

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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

»
3 years ago, hide # |
Rev. 3  
Vote: I like it +36 Vote: I do not like it

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!

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

    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".

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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.

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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