atcoder_official's blog

By atcoder_official, history, 15 months ago, In English

We will hold Japan Registry Services (JPRS) Programming Contest 2025#1 (AtCoder Beginner Contest 392).

We are looking forward to your participation!

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

| Write comment?
»
15 months ago, hide # |
Rev. 2  
Vote: I like it +9 Vote: I do not like it
»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

My Rating is 980 now,I hope to get 1000 or more Rating from this contest!

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Hope to get my Rating 1500!

»
15 months ago, hide # |
 
Vote: I like it -9 Vote: I do not like it

I think there is no point in the Atcoder Beginner Contest now(in terms of rankings). like today a lot of submissions are purely AI generated.

»
15 months ago, hide # |
 
Vote: I like it +5 Vote: I do not like it

Ok after the contest. Please explain F and G.What should I study todo such problems.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

My implementation sucks fr

»
15 months ago, hide # |
 
Vote: I like it +28 Vote: I do not like it

In this round, almost all the problems examine only the basic application of algorithms.

What's more, AI still occupies the rank list.

There are 392 Atcoder Beginner Contests. But now ABC is in the face of the difficulty of adapting to the trend of the times. We wouldn't like to see ABC become AI Beat Contestants.

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +7 Vote: I do not like it

    Just focus on having fun solving the problems. Worrying about AI 24/7 is only going to lessen your enjoyment of CP. The problems were fun and interesting and that's all that matters.

    • »
      »
      »
      15 months ago, hide # ^ |
       
      Vote: I like it +1 Vote: I do not like it

      Fully agreed, I mean people come here and yap 24/7 how AI will ruin CP and erase it from the face of the world, but look at Chess, Kasparov lost to IBM's AI, some 20+ years ago, it's still pretty relevant, just have fun lads!

»
15 months ago, hide # |
Rev. 2  
Vote: I like it +2 Vote: I do not like it
»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Problem F: The position where element i ends up (call it pos = a[i]), we iterate from i + 1 till end and increment pos whenever a[i] <= pos. But how to implement this?

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

    It's difficult to handle in the forward direction. I think you can process it in the reverse direction, which would make it easier to use a BIT or segment tree for maintenance.

»
15 months ago, hide # |
 
Vote: I like it +20 Vote: I do not like it

ABC -> AI Beginner Contest

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I felt that E is harder than F. I spent most of my time on E, and was lucky to have enough time to do F lol.

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

    Isn't E just straight forward DSU ?

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

      Yeah, but the implementation is kinda heavy. F's implementation is much simpler.

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

        I'm not sure if you overkilled it, but my solution isn't implementation heavy.

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

          I guess there is a lot of room for overcomplecating things, on how to connect the components using the "free" edges.

          As I did, maintaining a priority queue of components ordered by number of available edges... also updating that queue is a pain. And actually not really needed for this problem.

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

How the hell did so many people solved F and G? I don't think ABC is POSSIBLE in this AI era.

»
15 months ago, hide # |
 
Vote: I like it +9 Vote: I do not like it
»
15 months ago, hide # |
Rev. 2  
Vote: I like it +97 Vote: I do not like it

The first accepted of problem D is named "ReasoningModel" and their affiliation is "DeepSeek & OpenAI" LMAO

UPD: user removed

»
15 months ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

F and G need some complex algorithms(At least i used them), which is friendly to AI, not beginners.

»
15 months ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

What can I say?

I accepted the problem ABCDEF, but my performance was only around 1500, which was much lower than ever.

The contest took about ten minutes of AK, and it was done by a black-name user, and its code looked like it was coded in AI. Is that right?

I hope you get more ratings than ever before.

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +1 Vote: I do not like it

    Before this competition, when I took the question ABCDEF, I would get above 1600.

    But today, everything has changed.

    I don't know how to do fft, but AI does.

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

    Yeah, this is true. The problems today is very classical (especially FG) that I think many AI can solve them in <=10mins.

    I hope the quality of ABC can be improved. It should at least better than this.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

how G? teach me plz!!! o(〃'▽'〃)o

»
15 months ago, hide # |
 
Vote: I like it +5 Vote: I do not like it

I don't think it's a good idea to put G here.

I believe a major reason that so many people solved G is that AtCoder provides function to calculate convolution, and one can solve this problem by simply calling this function.

So I think we can call this contest AI Beginner Contest :)

»
15 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

More than 500 people AK this contest. It seems that I was a joker QWQ

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Can someone help me, what's wrong in this. only one test case is not passing https://atcoder.jp/contests/abc392/submissions/62569728

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

    In line 13, "ans += ( (long long) (p.second * b[key]));" -> "ans += ( (long long) (p.second) * b[key]);"

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

why 1 testcase is not passing in D problem

mySubmission

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

    In line 35, "v[i][x.first] * x.second" can be very big, you can use long double.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Can Anybody please tell why this fails , https://atcoder.jp/contests/abc392/submissions/62571244

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

For problem F, I figured out a AC solution, but still don't understand why a libstdc++ rope solution like this would TLE. I tried inserting at the beginning/end/size()/2 in custom test with N=5e5 in custom test and it ran quickly. Is it actually O(n)?

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Can anyone explain why this solution of E fails. My method: I created a data structure named extra which stored the self loops edges , multiple edges between two same node and nodes needed greater than size — 1 of that component with their indices and then I sorted the leaders of the connected components in decreasing order of the number of extra edges the connected component contains.

Then I just had to form a tree assuming a component of a tree to be a node . and add the edges . But its failing

can anyone explain why or provide a counterexample? Code

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Shouldn't time complexity of F be O((logN)^2*N) according to the editorial? Binary search on fenwick/segment tree?

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

    Bro, I’m with you. I’m just here to look for a comment like yours.

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

    No, it's possible to do the search while traversing the tree, instead of traversing multiple times and adding an extra log.

»
15 months ago, hide # |
Rev. 4  
Vote: I like it 0 Vote: I do not like it

AI making me feel bad about this contest, but I think figuring out EF on your own is strong. F took me way too long to figure, cause once I saw it I realized it isn't super difficult. I came up with a solution that would be O(Nlog^2(N)), with a rough outline of using reverse iteration, Fenwick tree and binary search.

»
15 months ago, hide # |
 
Vote: I like it +7 Vote: I do not like it

WHAT'S THE PURPOSE OF SETTING MORE AND MORE DS (OR ALGORITHM PROBLEMS WITHOUT BRAIN) AND SOLVE IT SIMPLY BY ATCODER LIBRARY???

»
15 months ago, hide # |
 
Vote: I like it -10 Vote: I do not like it

G is sh*t! (Becasue it can be solved easily through AtCoder Library.)