[Admin] Per problem solutions

Hi admins.

I’ve recently noticed on problem pages that not only one solution per user appears in the right panel.

Example 1 : http://www.codechef.com/problems/H2

We can see @anandkumar604 appears 4 times on the first page of accepted solutions.

Example 2 : http://www.codechef.com/problems/FLIPCOIN

We can see @sejkjhdsfkushd appears 12 times on the first page of accepted solutions.

I thought only the fastest AC submission per user should appear in this list.

Is this a bug ? a new feature ? a misunderstanding of mine ? :slight_smile:

Thanks in advance.

1 Like

Hi cyberax,

The change you have noticed is not a bug. We are showing the best solutions in the Successful submissions section on each problem page. The repetition of username is due to the fact that user has submitted some of the best solutions and we are showing all of them without keeping constraint of one solution per user.

I think it is not really a good idea to do such a thing as it over populates the lists. You should just show the fastest solution for a particular user. If someone attempts posting a similar solution with some modifications in order to improve on timings you will end up showing all of them what purpose is it really solving. The ideal presence of the list on the right is to see who all have solved the problem and not who has solved the problem how many times.

If you want to acknowledge the users multiple attempt at the problem add an extra level in between by taking the visitor on clicking View to a page like http://www.codechef.com/status/H2,anandkumar604?language=All&status=15&sort_by=Time&sorting_order=asc instead of the solution with best timing for that user.

Thank you for your answer. It’s clear for me now. :slight_smile: