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

×

Feature request on Status page

Hi, I've got an idea of a new feature on Status page.

Sometimes it's useful to sort the submissions by code length. Shorter code may be easier to understand, in my opinion.

Also, we should be able to filter the submissions by their score. There are many problems with subtasks on CodeChef. However, partially-correct submissions also get Accepted verdict. Sometimes we only need fully-correct submissions.

Thanks for reading. I hope my request makes sense.

asked 31 Aug, 10:20

wangrq's gravatar image

5★wangrq
1928
accept rate: 0%

edited 07 Sep, 19:33


Here is a script that I had made to Filter submissions based on score.

link

answered 31 Aug, 20:58

abdullah768's gravatar image

6★abdullah768
2.4k420
accept rate: 17%

That's wonderful. Thanks a lot.

(31 Aug, 21:58) wangrq5★

I have one more request. I think it's useful to filter the submissions by language and sort them by code length.

Is it possible to implement a script for such feature?

link

answered 07 Sep, 19:37

wangrq's gravatar image

5★wangrq
1928
accept rate: 0%

edited 07 Sep, 20:39

1

it is possible but then it will be very slow compared to what @abdullah768 did now as it will have to open each submission and check number of lines.. also it won't work for ongoing contests as codechef doesn't allow to see solutions of an on going contest...
while checking points is faster as points are visible on submission list (as well as for on going contest) ...

(12 Sep, 15:37) l_returns4★

codechef do give number of lines on each submission... but to access that link of solution needs to be opened

(12 Sep, 15:39) l_returns4★

Thanks for replying.

I want to sort the solutions by the size of code (i.e. how many bytes) instead of the number of lines. I agree that it's hard to implement such script. However, it might be easier for CodeChef, since they can just sort the submissions by file size.

(12 Sep, 19:31) wangrq5★
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:

×208
×123
×66

question asked: 31 Aug, 10:20

question was seen: 428 times

last updated: 12 Sep, 15:39