You are not logged in. Please login at to post your questions!


Why are these solutions of different users from the April Long Fault question same ?



Yes I do agree to what all has been said above. But we as other coders should not be too much bothered about it The main purpose and motive of CodeChef long challenges is to help people learn something new. That is why i feel there is no count of WA/TLE since everyone learns from his/her mistakes. So the persons doing malpractices are doing at their own loss. If they had coded the code themselves they MUST have learned atleast some small thing. Even debugging your own code teaches something. And what will they achieve by getting a good rank, what matters in the end is to learn Something and enhance our knowledge. So let us all concentrate on improving ourselves rather than digging up with solutions of other people. Have faith in admins Surely they will do what is needful and which hepls this CodeChef platform.

PS Even i am against cheating but i guess we have other more important things to do, because this isn't helping anyone here. So lets keep faith on admin and keep CODING and improving ourselves



answered 16 Apr '13, 12:46

viaan's gravatar image

accept rate: 0%


I think we should not worry too much about cheaters. although we must do our best what we can to avoid cheating.

Also Good coders never cheat. you cannot come in top 10 by cheating in anyways. Codechef here provides us a platform to learn its upto you, how you use this platform.


answered 16 Apr '13, 02:36

nirajs's gravatar image

accept rate: 0%

edited 16 Apr '13, 02:37


quite cool :)

(16 Apr '13, 02:47) bugkiller3★

As there was already a discussion here

Many users use some famous online IDEs to write code and unfortunately the codes there are public so that others can copy. Now the reasons for codes to be similar are:

  1. copied from such an IDE
  2. some users here use multiple handles, from one they try and test and from other they just submit the final AC solution. I have made a list of few such users and will report it to get the duplicate handles banned permanently.
  3. some users read the idea from similar sources so maybe they copied an idea but the code will be similar(might not be exactly the same)


4). another possibility sometimes is that the guys belong to same school/insitution so they discuss the problem together and then submit with their handles. (you have mentioned this in your question)


answered 15 Apr '13, 15:55

bugkiller's gravatar image

accept rate: 9%

edited 15 Apr '13, 16:22


It would be a great motivation for them if what they did was punished in some way.

Also, those IDE allow private posting, so disqualifying all of them post contest just seems a good idea.

(15 Apr '13, 16:06) bcurcio5★

Seems like option 1 and 3 are a possibility but when you will have a look at their solutions for cylinder , you will rule it out. Also the 3rd option is ruled out since the variables are declared alike .

(15 Apr '13, 16:15) highflyer0★

for 3rd possibility, some times at stackoverflow they post an idea implemented in their form so users might just copy that part and extend it. Thats why I added that code might not be exactly same but similar.

(15 Apr '13, 16:20) bugkiller3★

U see this is the "Fault" of Long challenges.. it gives room to discussion of solutions among peers. I am not opposing Long challenges in any way.. I owe a lot to them but these things happens all the time.


answered 15 Apr '13, 18:06

sidhantgoyal's gravatar image

accept rate: 0%


answered 15 Apr '13, 16:00

bcurcio's gravatar image

accept rate: 0%

This Problem is similar to LightOJ 1063

I just edit my code. In LightOJ, If any body solve a problem, he/she can see other's solution. However, I first did it in hust & I shared my code there. Anyone can see my code from here & If anyone copies my code from here, I am not responsible for that.

(16 Apr '13, 00:25) imranraad4★

and many handles has submitted 4+ problems at the very end of the contest. But why should we worry about them isn't this is their loss only..


answered 15 Apr '13, 18:53

nirajs's gravatar image

accept rate: 0%

edited 15 Apr '13, 19:00

@nirajs u can't say anything about this as i know many users initially they play with their second handle, and at the very last day they use their regular profile...

(15 Apr '13, 19:00) ab12342★

@ab123 yes this might be the case

(15 Apr '13, 19:03) nirajs2★

I'm curious as to the use of this. It's not like WA's or TLE's have a bearing on their rating or ranking of whatever(AFAIK). What's the use in doing this?

(15 Apr '13, 20:58) ethreal3★

@ethreal it all about prestige...some think that if they r trying some problem and getting WA or TLE then their prestige hurt if it has been seen by some of their friend...:D

(15 Apr '13, 21:24) ab12342★

@ab1234 and @ethreal >> or maybe they wanted a greater success rate in the other profile. To minimize the difference between Successful Submissions and Total Submissions :D

(15 Apr '13, 22:53) bugkiller3★

@ab1234 In a long contest all that matters that you learn how to solve a new problem ,implement a new data structure or learn something new. The number of WA's you get neither results in any penalty and I don't know anyone personally who makes fun of someone if he/she is getting a WA or TLE.

(15 Apr '13, 22:55) mohit134★

Actually this is clever idea. If you are unsure whether you will solve enough problems to increase your rating you could try second account and if in the end you find that the total number of solved problems is fine you submit under your main account. Otherwise you skip the contest to not hurt your rating.

(16 Apr '13, 01:22) anton_lunyov ♦6★
showing 5 of 7 show all

some users have also cheated chefgame and submitted their codes successfully ,please match the codes of chefgame by some smart matching pattern and cancel the submission of those people whose codes get same,this is also noticed in cylinders please undo this mistake otherwise my trust on codechef would lift up


answered 16 Apr '13, 00:41

faddu's gravatar image

accept rate: 0%


answered 16 Apr '13, 00:51

imrhk's gravatar image

accept rate: 0% i think this guy has cheated so please check the people who have same code


answered 16 Apr '13, 01:14

faddu's gravatar image

accept rate: 0%

i think offenders should be punished this guy has cheated all the codes,please get info about this

(16 Apr '13, 01:18) faddu3★

please be rest assured, the codechef admins have been already informed about these. Actions will be taken as codechef is very serious in this matter.

(16 Apr '13, 11:26) bugkiller3★

i think codechef must give partial points Question in next long challenge like to detect cheated solutions.More exact matching,more would be the scored points.


answered 16 Apr '13, 23:09

prashantgpt91's gravatar image

accept rate: 0%

could u plz elaborate on your thoughts
I mean partial marking in what sense based upon the source code matching. And awarding more points to matched solutions ???
All this goes over my head .... CONFUSED

(17 Apr '13, 01:39) ronny2★

@ronny:partial marking means partial score question, in the same sense where codechef gives away the Questions in long challenge each month. and more exact one's algorithm works to detect cheat, more points he would be awarded.

hope now u got it :)

(22 Apr '13, 01:29) prashantgpt913★

@prashantgpt91 Even I don't seem to understand your suggestion.
From what I was able to gather from your last comment is to add a new problem in the Long Contest where each user is supposed to design an algorithm to detect cheating cases.
Am I right ?
Again what purpose will this do ?
Designing an algorithm to check same solutions . Shouldn't this be left to the admins of CodeChef to decide and detect on such malpractices.
And in such a case each Long Contest will have a same question every month??
If I am wrong in assuming your statement do correct me.

(25 Apr '13, 23:54) viaan2★
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 15 Apr '13, 15:49

question was seen: 7,482 times

last updated: 25 Apr '13, 23:54