How does Codechef detect or check for plagiarism/cheating?

CodeChef is a playground for computer programmers. And just like any other sport, we too have some basic expectations from our users. Nothing stringent to worry about. These are just simple and small practices that all of you have been following, or if not, shall be following from now on. :slight_smile:

So, let’s get started:

You shall not possess more than one account on CodeChef. If you have, then do let us know by sending an email to, so that we can deactivate the ones that you do not wish to use.

If you encounter any problem during an ongoing contest, post it on the respective problem page. The problem setter will help you get over it. Alternatively, you can write to us at We will try and address it in the best possible manner.

Queries related to any specific problem, after the contest should be posted on the editorial page of the problem on discuss. That’s the most hospitable place for your problem specific queries.

If you are taking part in CodeChef’s contests, you must take good care of your code. Protect it from getting leaked, getting shared, and getting copied by your foes, friends, or just a random peer. It is your responsibility to provide it the safety it deserves.

Avoid using any online IDE’s or code sharing sites like pastebin to share your code. In case you must, the responsibility of protecting your code lies solely with you. If you’re using ideone, you can read about protecting your code on it here.

You guys write beautiful codes. Why ruin it by obfuscating it? Keep the real beauty of the code intact. Do not obfuscate it.

Taking help or using a third party code is not bad. Passing it off as your own is. If you are taking your code from some other source, it is expected that you give the due attribution to the source in your code. It is mandatory.

Do not ask or discuss any aspect of any CodeChefs’ problem during an ongoing contest on any other platform, online or offline. Discussion of strategy should be avoided during the contest and postponed till the end.

You shall avoid sharing formulae, logic, or any other significant aspect of your problem, which can take your solutions under scanner and make you look untidy.

You may try to solve a problem as a team, but then make sure that there is only one submission made for a discussed solution in a contest. Submitting the same solution (even algorithm) by the different members of the team or a discussion group is not fair and will be considered as plagiarism.

Stay honest to the community. If you come across any wrongdoing, which hampers the decorum of the community on or off it, do report that to us. We will investigate the issue and take appropriate action to stop it.

Do not try any dishonest means to move up the rank tables.

Not adhering to the above set of guidelines may lead to suspension of your account and/or reduction in your rating points.

copied from admin’s corner

1 Like

You could have just given the link instead of copying the text. Irony!

Why does it matter? Usually such Q are never answered. Howsoever they check, they make sure they dont punish innocents :slight_smile:

1 Like

true @sun_d

1 Like

haha missed that :stuck_out_tongue: