EXSTREAM CHEATING IN LAST ROUND D
Разница между en4 и en5, 1555 символ(ов) изменены
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↵
↵
↵
[submission:308151686]↵
[submission:308117651]↵
[submission:308160744]↵
[submission:308153550]↵
[submission:308165846]↵
[submission:308152360]↵
[submission:308142455]↵
[submission:308171609]↵
[submission:308166500]↵
[submission:308167550]↵
[submission:308158553]↵
[submission:308146140]↵
[submission:308144552]↵
[submission:308158580]↵
[submission:308144531]↵
[submission:308170236]↵
[submission:308171447]↵
[submission:308138274]↵
and best for last↵
[submission: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 [user:MikeMirzayanov,2025-02-28] 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↵
[submission:308347774]↵
↵
here is the code on the telegram group↵
↵
```cpp↵
↵
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.↵
↵

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en5 Английский 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 Английский THE_THUNDERSTORM_BEGINS 2025-02-28 06:27:32 5 Tiny change: 'erent funcrions doing' -> 'erent functions doing'
en3 Английский THE_THUNDERSTORM_BEGINS 2025-02-28 05:14:35 74 forgot to mention mike
en2 Английский THE_THUNDERSTORM_BEGINS 2025-02-28 04:40:35 24 i posted a wrong submission by accident
en1 Английский THE_THUNDERSTORM_BEGINS 2025-02-28 04:31:50 1503 Initial revision (published)