mercer_2.0's blog

By mercer_2.0, 3 years ago, In English

Hi Codeforces !

Six days ago, I eagerly participated in Codeforces Round 937 (Div. 4), pouring hours of effort into crafting original solutions to the challenging problems presented. Today, to my dismay, I discovered that all my submissions were flagged for plagiarism.

Upon thorough investigation, I found that my code had been marked as plagiarized due to similarities with several other submissions. However, I want to emphasize that I did not resort to any online compiler nor did I copy code from any external source.

These are some points that I want to put forth which I think the readers should know :

  • The code to find the factors of a number is easily available online (I didn't use it though as I have appeared in 80+ contest and the idea of finding factors is quite common) Link
  • The other solutions use a triple nested loop, to check for the similarities of substring, while my code uses just a double nested loop.Thus the algorithm itself is entirely different.

My code :

for(auto it : factors){
        string check = s.substr(0,it);
        string check2 = s.substr(n - it,it);
        int cnt = 0,cnt2 = 0;
        for(int i = 0  ; i < n ; i ++){
            if(s[i] != check[i % it]) cnt ++;
            if(s[i] != check2[i % it]) cnt2 ++;
        }
 
        if(cnt <= 1 || cnt2 <= 1){
            cout << it <<"\n";
            return;
        }
    }
}

Other codes :

for (int i=0; i<div.size(); i++)
    {
        int len=div[i];
        string check1=s.substr(0,len);
        string check2=s.substr(n-len,len);
        int cnt1=0,cnt2=0;
        for (int j=0; j<n; j+=len)
        {
            for (int k=j; k<j+len; k++)
            {
                if (s[k]!=check1[k%len])
                    cnt1++;
                if (s[k]!=check2[k%len])
                    cnt2++;
            }
        }
        if (cnt1<2 || cnt2<2)
        {
            cout<<len<<endl;
            return;
        }
    }
  • Moreover, there was not much logic involved in that block, which could be 'plagiarized'. It just involved equality checking

  • I am a specialist (1479) and div 4 contests are unrated for me, so why would I risk plagiarism in an unrated contest

I request MikeMirzayanov and Codeforces team to look into this

This experience has been extremely heartbreaking and saddening. It feels as though all the headwork, dedication, and passion I invested in upskilling myself went in vain.

  • Vote: I like it
  • +91
  • Vote: I do not like it

| Write comment?
»
3 years ago, hide # |
 
Vote: I like it +41 Vote: I do not like it

The arguments seem genuine and should be heard.

»
3 years ago, hide # |
 
Vote: I like it +14 Vote: I do not like it

I'm in support and highly demand the codeforces officials to look into this matter. We dedicate hours and hours of hard work in CP. And false allegations like this really broke our heart

»
3 years ago, hide # |
 
Vote: I like it +18 Vote: I do not like it

Full support brother. Codeforces team should look into the matter.

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

MikeMirzayanov and Codeforces team Please look into this. His arguments are valid and should't be ignored.

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

The arguments appear valid and deserve attention. MikeMirzayanov, kindly review the matter.

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

MikeMirzayanov and KAN Can you please check once?

»
2 years ago, hide # |
 
Vote: I like it -23 Vote: I do not like it

Such false accusations can harm reputations, create undue stress, and impact personal and professional growth. Addressing these allegations with clarity, fairness, and transparency is essential to ensure justice and maintain trust in the systems meant to uphold academic and professional integrity.