Hello CodeChef team,
I recently participated in the CodeChef Starter 159 and unfortunately received a plagiarism mail on my submission for one of the problems. This came as a shock to me, as I completed my work independently and followed the CodeChef rules carefully.
The solution to the ELECTION problem in STARTERS 159 (rated) was quite straightforward, that is we need to find the difference in votes of candidate A and candidate B. After that we need to sort them in increasing order and chef have the power to cast X votes.by adding the chef votes we make candidate A win. If total wins of candidate A is greater than number of states/2 then he will be the winner in the elections.
I even submitted another answer by applying selection sort which gave time limit exceeded then I applied merge sort which helped me to finish my problem.
The editorial also presents the same approach (ELECTIONS - Editorial ), which contributes to the similarity of many submissions.
Furthermore, I submitted my solution prior to the other one as indicated by my lower submission ID.
Here is the other’s submission(CodeChef: Practical coding for everyone } and this is my submission (CodeChef: Practical coding for everyone ).
Please take these points into account and reconsider my submission.
Regards,
adithya0511