EXSTREAM CHEATING IN LAST ROUND D

Revision en5, by THE_THUNDERSTORM_BEGINS, 2025-03-01 04:38:40

hello codeforces

yesterday i noticed that someone from my friends solved problem D in 8 minutes.

well this friend is known in our telegram training group to be a cheater.

i refused that fact cuz there is no direct proof.

while i was looking at his code i noticed that some code was copied and pasted 3 times in different functions doing nothing.

i knew that was not normal , so i needed a proof now.

so i decided to look at problem D solves and was suprised that so many solutions are alike in a way, but different only in variable names, and some of them were in a straight one line of code , but the same idea over and over.

you can check some examples

308151686 308117651 308160744 308153550 308165846 308152360 308142455 308171609 308166500 308167550 308158553 308146140 308144552 308158580 308144531 308170236 308171447 308138274 and best for last 308165802

you can notice the large similarity between them,,

most of them were submitted at the near end of the contest,

these acts are not acceptable in this community, so many coders leave CP because others are cheating and he is getting negative delta over and over while not cheating.

i would like to notice MikeMirzayanov to these acts.

update:

the same person cheated today

i invastigated more and found a code on a telegram group

further more

here is his submission 308347774

here is the code on the telegram group


D1?#include <bits/stdc++.h> using namespace std; int f(long long m, long long n, int B, const vector<int>& p) { if (m <= n) return p[(int)m]; return (m & 1LL) ? B : B ^ f(m / 2, n, B, p); } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int t; cin >> t; while (t--) { long long l, r; int n; cin >> n >> l >> r; vector<int> a(n + 1); for (int i = 1; i <= n; i++) { cin >> a[i]; } if (l <= n) { cout << a[(int)l] << "\n"; continue; } vector<int> p(n + 1); p[0] = 0; for (int i = 1; i <= n; i++) { p[i] = p[i - 1] ^ a[i]; } int fn = p[n]; int B = (n & 1) ? fn : fn ^ p[n / 2]; long long m = l / 2; cout << f(m, n, B, p) << "\n"; } return 0; }

you don't need to be smart to know whats happening , these codes are being distributed through youtube and telegram channels, too bad we can't stop them , but at least cheaters don't deserve to get to expert by cheating and get away with it.

note: i will share the same codes that were shared for B C

i don't care about A if you cheat A just get a life man.

Tags cheat

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English THE_THUNDERSTORM_BEGINS 2025-03-01 04:38:40 1555 Tiny change: 'rn 0;\n}\n```\n\ny' -> 'rn 0;\n}\n\n```\n\ny'
en4 English THE_THUNDERSTORM_BEGINS 2025-02-28 06:27:32 5 Tiny change: 'erent funcrions doing' -> 'erent functions doing'
en3 English THE_THUNDERSTORM_BEGINS 2025-02-28 05:14:35 74 forgot to mention mike
en2 English THE_THUNDERSTORM_BEGINS 2025-02-28 04:40:35 24 i posted a wrong submission by accident
en1 English THE_THUNDERSTORM_BEGINS 2025-02-28 04:31:50 1503 Initial revision (published)