I think that many people cheated while solving 1918C - XOR-distance in the recent round Codeforces Round 922 (Div. 2).
All the following codes are quite similar to this code:
ll a,b,c; cin>>a>>b>>c;
if(a<b) swap(a,b);
ll ans = a-b, cnt=0, mn=ans;
for(int i=60; i>=0; i--){
if(((b>>i)&1)==0 && ((a>>i)&1)==1 && cnt+(1ll<<i)<=c){
if(ans>=2*(1ll<<i)){
cnt+=(1ll<<i);
ans-=2*(1ll<<i);
}
else{
mn = min(mn,2*(1ll<<i)-ans);
}
}
}
cout<<min(ans,mn)<<endl;
I found some codes which are pretty similar:
- 244143635
- 244143608
- 244143291
- 244145231
- 244145223
- 244145221
- 244145187
- 244145165
- 244144917 (interesting blank lines btw)
- 244144909
These are just a few, but there are many more. I imagine that the code was published somewhere and everyone copied from there, but I couldn't find the source (if anyone finds it, please comment).
All pupils and Newbies are trying hard to showcase their skills ! Nice !
No hard comments but I guess your solution is also quite similar to this one..btw it is not necessary that everyone similar code would have cheated..same goes to you as well.
Funny enough your solution is identical to those.
244139526
JAISIYAARAAM be like
JAISIYAARAAM left the chat
are they going to get skipped or not. cuz many got uprated.
probably they will after roll back
244136311 one more. MikeMirzayanov
They won't get far anyway. Funny that I have a very similar solution tho
When I see this blog i thought let curse these cheater then i thought once a while i am also doing the same.
It's normal for their code to be similar since the majority uses AI. It's not direct cheating."
It was already found that exactly this code was leaked in Telegram groups.