# Question in Asia-Kharagpur Site First Round Online Contest 2014 was straight out of Google code jam world final 2009

**URL:** <https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685>\
**Category:** general\
**Tags:** acm-icpc, gcj, kharagpur, regionals\
**Created:** [October 18, 2014, 6:02pm UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685 "2014-10-18T18:02:34Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![v\_akshay](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@v\_akshay](https://discuss.codechef.com/u/v_akshay)\
**Post date:** [October 18, 2014, 6:02pm UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/1 "2014-10-18T18:02:34Z")

</div>

Check the links:- [regional online qualifications](http://www.codechef.com/ACMKGP14/problems/ACM14KP1) , [GCJ 2009 WF](https://code.google.com/codejam/contest/311101/dashboard#s=p1)  
While only 4 out of 25 world finalists were able to solve this problem in GCJ world final 2009, almost 100 teams solved it in an online qualification round of a regional.  
Its quite obvious that most of the teams have directly submitted the codes from [link](https://code.google.com/codejam/contest/311101/scoreboard?c=311101#vf=1)

I have heard that there is a great filtering mechanism in place for selecting questions for such prestigious contests, but then I wonder how this question made it to the final list of questions. I think the organizers owe an explanation.

---

<div class="post-metadata">

**Author:** ![skrcode](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@skrcode](https://discuss.codechef.com/u/skrcode)\
**Post date:** [October 18, 2014, 6:34pm UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/2 "2014-10-18T18:34:51Z")

</div>

Yeah…!! They do, don’t they…!! I sincerely agree with you. Many good teams, might have actually learnt the algorithm and tried to solve it. Their hardwork would just be overshadowed completely… I think the ICPCKGP moderators should run a plagiarism check on all codes of the contestants in google code jam finals as well as the editorialist’s code. I think around 50% of teams would be disqualified…!!

---

<div class="post-metadata">

**Author:** ![i\_coder](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@i\_coder](https://discuss.codechef.com/u/i_coder)\
**Post date:** [October 18, 2014, 11:04pm UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/3 "2014-10-18T23:04:26Z")

</div>

The first question should be removed and the results should be recalculated on the basis of other 4 questions only. I believe that if teams are disqualified for cheating from codejam question, then at least 50 teams among top 100 will get disqualified.  
My team ranked 1. My team name is one\_last\_time. I copied the solution of question 1 from ZhukovDmitry’s solution and modified it to suit the current question and also changed the variable names. I believe that if there is a question whose solution is directly available online, then it is a fault on the part of problem setter and tester. I have not discussed with anyone or shared code with anyone. I collected it independently from the internet with the help of google. I may have done a mistake, but the mistake was bigger from the part of the setters.

---

<div class="post-metadata">

**Author:** ![rjtrajat](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@rjtrajat](https://discuss.codechef.com/u/rjtrajat)\
**Post date:** [October 19, 2014, 8:24am UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/4 "2014-10-19T08:24:39Z")

</div>

What is this !!!we had taken two hour to solve first question and ultimately could not find the appropriate logic for that question .,after ending of the contest some has solved that question to whom i know ,when i asked them how u did that,.they said directly it is the same question from google code jam. So what is the meaning of keeping this type of question in reputed contest like ACM ICPC ,to make some one feel lucky and some to feel demolarized. So this question should not be counted in ranking because many of them has just copied from online source.

---

<div class="post-metadata">

**Author:** ![ambarpal](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@ambarpal](https://discuss.codechef.com/u/ambarpal)\
**Post date:** [October 19, 2014, 10:15am UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/5 "2014-10-19T10:15:57Z")

</div>

Simply recalculating rankings after removing this question will not be fair as there would be teams who have solved their third question after this one. They will unfairly have a time disadvantage. I suggest that in case the question is getting removed, for the teams who solved this question as their second question, the time should be readjusted to exclude the time taken for solving this question.

---

<div class="post-metadata">

**Author:** ![uditarora09](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@uditarora09](https://discuss.codechef.com/u/uditarora09)\
**Post date:** [October 19, 2014, 11:58am UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/6 "2014-10-19T11:58:25Z")

</div>

According to the rule,  
“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 kind of mandatory.”  
Firstly, If anybody has used the code, they cannot be disqualified.

Secondly, giving this question is setter’s fault, not ours. Removing this question will be unfair because:

There are some teams,who did this question by themselves and got time advantage after doing this question. Removing it would cause lower rank, not fair.

---

<div class="post-metadata">

**Author:** ![james\_alcatraz](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@james\_alcatraz](https://discuss.codechef.com/u/james_alcatraz)\
**Post date:** [October 20, 2014, 2:54am UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/7 "2014-10-20T02:54:46Z")

</div>

It is the responsibility of the setter and the tester that solutions of problems are not readily available on the internet. Regarding the problem, even a slight change like the "smallest perimeter of triangle which should be isosceles/ right angled " would have prevented teams from directly copying the solution given in that link…

Calculating ranks after removing the question would be unfair to the teams who solved it by themselves or people who have solved the problem earlier… Checking for plagiarism isn’t convincingly fair also, as one can easily modify the solution by changing variable names, changing loops , and other things which may make it look like it isn’t copied…

So in my opinion the best solution is to reschedule the contest with a fresh set of problems( tested properly ) if it is feasible for the codechef team and the icpc kharagpur team. I don’t think any deserving team will disagree…

---

<div class="post-metadata">

**Author:** ![acronym175](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@acronym175](https://discuss.codechef.com/u/acronym175)\
**Post date:** [October 25, 2014, 10:09am UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/8 "2014-10-25T10:09:19Z")

</div>

Now that the contest will be rehosted what about the teams which where in top 100 and had not attempted that question cause it is not fair for them to again sit in the competition and prove that they deserve a place in the top 100. There should be a special procedure so that they get the benefit of their performance in the 1st round.

---

<div class="post-metadata">

**Author:** ![dpraveen](https://discuss.codechef.com/user_avatar/discuss.codechef.com/dpraveen/32/24644_2.png) [@dpraveen](https://discuss.codechef.com/u/dpraveen)\
**Post date:** [October 18, 2014, 7:36pm UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/9 "2014-10-18T19:36:48Z")

</div>

How much codes will you run plagirism against? Problem is also same as [SPOJ.com - Problem CLOSEST](http://www.spoj.com/problems/CLOSEST/).

---

<div class="post-metadata">

**Author:** ![xenny](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@xenny](https://discuss.codechef.com/u/xenny)\
**Post date:** [October 18, 2014, 8:05pm UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/10 "2014-10-18T20:05:23Z")

</div>

Anyway, most teams would have modified their code suitably. The rules state that if the algorithm is same and the variables, etc are not the same, then the code will not be considered plagiarised. However, this is just my interpretation.

Check out Asia Director’s view here - [http://acm.iitkgp.ac.in/](http://acm.iitkgp.ac.in/)

@dpraveen - There are only about 100 submissions and 4 GCJ codes. So, about 10K comparisons will have to be made.  
The second most submitted problem also required the standard problem of counting inversions in O(nlogn), plagiarism check should be done for that as well.

---

<div class="post-metadata">

**Author:** ![uditarora09](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@uditarora09](https://discuss.codechef.com/u/uditarora09)\
**Post date:** [October 18, 2014, 9:03pm UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/11 "2014-10-18T21:03:33Z")

</div>

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 kind of mandatory.

read this instruction from  
[http://discuss.codechef.com/questions/18662/does-codechef-have-any-code-of-conduct](http://discuss.codechef.com/questions/18662/does-codechef-have-any-code-of-conduct)

---

<div class="post-metadata">

**Author:** ![v\_akshay](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@v\_akshay](https://discuss.codechef.com/u/v_akshay)\
**Post date:** [October 19, 2014, 3:49am UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/12 "2014-10-19T03:49:05Z")

</div>

How could removing this problem be fair to teams who invested all the time in this question instead of the last two, seeing the number of accepted submissions for this problem, and who were actually able to come up with an original solution by themselves, instead of directly googling for the code.

---

<div class="post-metadata">

**Author:** ![i\_coder](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@i\_coder](https://discuss.codechef.com/u/i_coder)\
**Post date:** [October 19, 2014, 4:57am UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/13 "2014-10-19T04:57:24Z")

</div>

I agree that removing this problem won’t be fair to them. But not removing this won’t be fair to the contest as a whole. So, there must b a better solution.

---

<div class="post-metadata">

**Author:** ![rsc94rsc94](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@rsc94rsc94](https://discuss.codechef.com/u/rsc94rsc94)\
**Post date:** [October 19, 2014, 8:18am UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/14 "2014-10-19T08:18:17Z")

</div>

I agree question should be removed.

---

<div class="post-metadata">

**Author:** ![uditarora09](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@uditarora09](https://discuss.codechef.com/u/uditarora09)\
**Post date:** [October 19, 2014, 12:43pm UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/15 "2014-10-19T12:43:14Z")

</div>

There are some teams, who did this question by themselves and got time advantage after doing this question. Removing it would cause lower rank, not fair.

---

<div class="post-metadata">

**Author:** ![varuntinkle](https://www.codechef.com/sites/all/themes/abessive/images/user_default_thumb.jpg) [@varuntinkle](https://discuss.codechef.com/u/varuntinkle)\
**Post date:** [October 19, 2014, 5:32pm UTC](https://discuss.codechef.com/t/question-in-asia-kharagpur-site-first-round-online-contest-2014-was-straight-out-of-google-code-jam-world-final-2009/7685/16 "2014-10-19T17:32:28Z")

</div>

Considering the fact in the finals of Google Code Jam only 4 out of 25 were able to solve it, it is highly unlikely that teams could have thought about it independently except the top 5-10 teams. Comeon, the finalists are legends and when 21 cant solve I dont believe even 30 teams in India could have solved it on their own .
