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

×

Codechef WA/TLE test case display feature request

12
1

Like on codeforces, wouldn't it be great to have an option to see for which test cases your code gets a WA/TLE on codechef practice section as well ? Each person can debug his own code. They dont have to ask each time on the forum for some one else to look at their code and debug it which in itself is a very tedious task and hence many a times questions like those (WA in xyz qts) go unanswered. The learning process can be a lot faster - user doesnt have to wait for help unless he doesn't understand the problem completely.

There are times when users use completely different/unique algorithms in contests and get WA. After the contest, they refer to the editorial only to find a different algorithm and eventually let go. In such situations, there might be cases when the user might just have missed one line of cases or may be some corner case. However in many cases, he never finds out what it was.

Now some might claim that this will make it easy to get AC in practice compared to contest problems. Well that is true but then why not just leave that choice to the individual user - if he thinks that this feature is not benefiting him - he can choose not to use it and solve problems traditionally.

Well these are just my thoughts - would like to know what you guys think. Peace :)

asked 18 Aug '14, 13:17

thezodiac1994's gravatar image

6★thezodiac1994
1.0k61122
accept rate: 16%

edited 18 Aug '14, 13:18

1

I think this will be a good feature and benefits to a lot of users.

(18 Aug '14, 13:27) freeman923★

On hackerearth, we can also see on what percent of testcases our code is getting correct answer. I think codechef should also add this feature which will really be helpful.

link

answered 18 Aug '14, 14:53

filmwalams's gravatar image

5★filmwalams
1.6k113141
accept rate: 7%

Yeah it would be great to have this feature on codechef! :)

link

answered 18 Aug '14, 14:09

samdcoder's gravatar image

2★samdcoder
4126
accept rate: 0%

I think that implementation of this thing is supported by Codechef's backend as in Lunchtime contests, we can see the Testcase Number that we got correct / wrong. So, all they have to do is probably allow download of each testcase file.

Or, along with the editorials, all testcase data could be made available for download, as in the case of Yandex contests. Yandex provides testcase generators, validators, testcase files and solutions of tester and author in one compressed file.

link

answered 19 Aug '14, 11:40

wittyceaser's gravatar image

2★wittyceaser
3.4k194377
accept rate: 16%

Yup.. Nice idea..@Gautam .

link

answered 18 Aug '14, 17:11

rajat_dtc's gravatar image

2★rajat_dtc
1.8k51422
accept rate: 6%

Thanks. Lets hope they consider it.

(18 Aug '14, 18:06) thezodiac19946★

Yes it is nice idea. They can do it like hackerrank. They can use hackos or something alike , so that user thinks before seeing the test case. Even i faced the same problem, you dont get to know what case you were missing. It will be better than reading others code or editorial, at least we will see the boundary case and code it rather than reading it from an editorial.

link

answered 19 Aug '14, 02:53

jatinagrawal31's gravatar image

2★jatinagrawal31
216
accept rate: 0%

Yea I agree..it will help a lot.

link

answered 20 Aug '14, 00:11

warrior1986's gravatar image

2★warrior1986
1
accept rate: 0%

The contests are designed to test your knowledge of algorithmic and data structure skills and how you come up with the solution. I do agree sometimes it is pretty difficult to find the corner cases but that teaches you to have patience and think from a different perspective ,this will be helpful in your professional career as then you will not have any one to show you the corner cases where you are failing. During the contests such cases cannot be shown (cases where your code is failing) but when the contests ends ,such cases can be provided to help programmers.

link

answered 15 Feb '17, 10:34

thesilentnoise's gravatar image

2★thesilentnoise
26
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:

×2,343
×671
×209

question asked: 18 Aug '14, 13:17

question was seen: 4,151 times

last updated: 15 Feb '17, 10:34