Currently, CodeChef appears to only show the fastest successful solution for a problem by every coder. I think 2 changes would be useful to this:
- If a coder resubmits a solution with an identical execution time as a previous one by him, CodeChef should display his last working solution when you click “View” in the list of successful solutions, rather than the first one. This would allow people to clean-up their solution after they’re done improving it. Others would benefit from better readable solutions.
- If a coder submits successful solutions in different languages, the fastest solution for each language should be displayed in the list of successful solutions. This would be beneficial because different languages have different interesting tricks to achieve performance. Sometimes a Python program that runs in 2 seconds is more interesting than a C program that runs in 0.5 seconds.