Does CodeChef have any Code Of Conduct?

I am new to CodeChef. I am not sure what can be considered as an improper conduct on this website. I do not want to be penalized for doing something unknowingly which is not the accepted behavior. Is there any such Code of Conduct?


You can see the updated version here:

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.
    But in case you have missed giving attribution to a third party code, and you get caught in our plagiarism check, then you have the option of proving to us that this was indeed a publicly available code. Note that the proof of burden rests on you to prove beyond a doubt that the code which you used was available publicly before the relevant contest began.

  • 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.


Really?? Is obfuscated code a sin?? :stuck_out_tongue:

No it is not a sin. But we do not see any reason behind obfuscation in a competitive programming environment. It also goes against the spirit of learning. Others will not be able to understand your code if you obfuscate it.


Right! Didn’t give any second thought to it. :slight_smile:

And yeah! (From the other post) Obfuscating to escape being caught is a real sin!! :slight_smile:


I would suggest putting the Code of conduct in the Help (FAQ) Section on the Codechef site and providing a link to the same in the Rules section in each contest.


Indeed. We will do so.

I am not able to see 2 problems in NOV13 SPOTWO and CHEFGM . It shows i am not authorized to see them ? what happened there. I just use the inline function to take input fast from . is it also not allowed ? rest of code is mine only … Please replyy…

@shubham1402 Cheating cases are caught only after a contest is over. The not authorized comment is due to some server error and has nothing to do with cheating. Hopefully it will be fixed soon.

@shubham1402 your comment is off-topic in this thread, please read the forum too before posting something…


I sent a mail to asking to deactivate my old codechef account. It was around a week back and the account is still active. Please do the needful.

1 Like

All the cheating in janauary long seagrp

All exact codes for Sereja and graph.

how to register for writing the exam on march 30th? please give me replay

1 Like

what is the average time , each question can take to be solved during the contest ?

Are we allowed to put our code for past Contests say September 2014 on GitHub??? That’s public too but the contest is long gone.

1 Like

Good Question…

But @animax001 i never used GitHub… Can you please tell the advantages of doing so ?

Thanks in Advance !! :slight_smile:

@rishabhprsd7 GitHub is basically a code repository with version control. You can keep your projects there and anyone can see your code unless you have marked the repository private. In US, employers prefer to look into candidate’s GitHub profile to see their coding style, various independent projects done etc. Gives a better picture to them.

@animax001: Yes. You are allowed to do so if it is a past contest. Giving attribute to the problem (having a link to the original problem) will be really good.

any of the point which you have given above is not violating my any submission to make me guilty.
so please kindly check it out this problem and dont deactivate my account and dont drop my rating…

any of the point which you have given above is not violating my any submission to make me guilty.
so please kindly check it out this problem and dont deactivate my account and dont drop my rating…

1 Like