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

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

We will hold AtCoder Beginner Contest 426.

Starting with this contest, the rules against generative AI have undergone significant changes. Please make sure to review this post and the rules.

We are looking forward to your participation!

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

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

Now we have significant changes for the rule against generative AI. Not only ABC, but ARC and AGC are also affected. I suggest reading the new rules for all AtCoder contestants.

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

if u use ai in abc, it's useless to improve ur coding ability except for a high rating(but its useless

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

This will be my first contest on the AtCoder.

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

G is a totally shit. It's the same as this one: https://www.luogu.com.cn/problem/P6240

ABC now becomes a contest that copy other Online Judges' problems, and that is really bad for those who try to solve problems properly.

Also, ABC doesn't ban people who use AI, and that's bad either.

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

I love Atluogu.jp !!!

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

Problem D is great, but EFG are shitty.

E: Totally math problem;

F: Segbeats template;

G: Cattree Divide and Conquer template.

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

Why there's so many problems that be solved with Segment Tree?!

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

    Because it's a great Data Structure. Also, if you are talking about C, it can also be solved with Fenwick Tree.

    Edit: It can also be solved using just a loop and tracking the latest OS version. Just realized it.

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

      But C can be also solved with brute force.

      This is my code, it's easy to understand. Though variable $$$L$$$ do not decrease, the time complexity could be $$$O(N+Q)$$$.

      #include<bits/stdc++.h>
      #define ll long long
      using namespace std;
      ll n,q,L,arr[1000005];
      int main(){
      	ios::sync_with_stdio(false);
      	cin.tie(0);
      	cout.tie(0);
      	cin>>n>>q;
      	for(int i=1;i<=n;i++){
      		arr[i]=1;
      	}
      	while(q--){
      		ll x,y,ans=0;
      		cin>>x>>y;
      		while(L<=x){
      			ans+=arr[L];
      			arr[y]+=arr[L];
      			arr[L]=0;
      			L++;
      		}
      		cout<<ans<<"\n";
      	}
      	return 0;
      } 
      
»
14 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

How to solve E?

Did I need to use calculus in E?

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

Extremely disgusting E. E can be easily solved by chatGPT in just a few seconds, but human being will get stuck and keep getting wrong answer. This will give cheaters great advantage. They can even have time removing comments and modify the code to make it appear less AI generated looking.

Master like me has already fall below 1600, guess I will eventually reach 1200, and will become Master in codeforces and Pupil in atcoder simultaneously if the problem quality is keep as low as this.

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

Is G too classic?I think too many people had tried it before the contest began.

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

I tried ternary search on problem E, but got WA. Is there some corner case for which ternary search would not work?

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

Please use yuantiji.ac before publishing contests...

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

wtf is this??????????

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

S**t F,G.

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

Please do not give geometry problems that involve only simple math anymore.

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

Hi solved problem D in todays Contest using 2p + dq. Let me know if you guys are interested in a video explanation

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

What is the problem with my solution for problem E.

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

I am Carbon Twelve!

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

g is p6240 in luogu, so I got the first accepted in g and f is a segbeats template, but remember to use int128.

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

In the solution to Problem E, "$$$\frac{t}{q}\vec{AB}$$$" should be "$$$\frac{t}{p}\vec{AB}$$$".Because it is $$$\frac{\vec{AB}}{p}$$$ that is the unit vector.