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

×

[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 ? :)

Thanks in advance.

asked 21 Jun '12, 00:55

cyberax's gravatar image

2★cyberax ♦
3.4k21955
accept rate: 20%

edited 22 Jun '12, 04:36


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.

link

answered 21 Jun '12, 19:10

admin's gravatar image

0★admin ♦♦
19.3k348495534
accept rate: 36%

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.

(21 Jun '12, 19:46) gultus ♦4★

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.

(21 Jun '12, 19:47) gultus ♦4★

Thank you for your answer. It's clear for me now. :)

link

answered 22 Jun '12, 04:17

cyberax's gravatar image

2★cyberax ♦
3.4k21955
accept rate: 20%

toggle preview
Preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×1,305
×57
×1

question asked: 21 Jun '12, 00:55

question was seen: 1,030 times

last updated: 22 Jun '12, 04:36