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

×

TEST CASES for Problems on CODECHEF

Is Codechef planning to introduce a new feature of viewing all the test cases of any particular problem, specially of the contests(after they end)?


This is the feature of other OJs like HackerRank, Codeforces. It would be a nice move as we could understand our mistakes better. As sometimes we are not able to point out mistake/mistakes in our particular logic/code by debugging our code but we can surely achieve it by analyzing the test cases and also see that against which particular case we went wrong in our logic.

Thanks.

This question is marked "community wiki".

asked 30 Mar '16, 20:02

pwarriors's gravatar image

5★pwarriors
4815
accept rate: 10%

edited 30 Mar '16, 20:29


Yeah it may be a good move, but i feel not revealing the test cases helps better, it improves our debugging skills and testing skills , Ofcouse i agree sometimes we are stuck at a simple corner case for hours , but we tend to give up soon and would be sometimes see testcases every now and then.

link

answered 01 Apr '16, 12:02

geek_geek's gravatar image

4★geek_geek
43914
accept rate: 16%

Yeah. But atleast they can be revealed after the contest finishes.

(17 Sep '16, 18:00) pwarriors5★

I think that would be a good idea to add more testcases/examples, but I think if they would do it like you said you could just print the solution. It could maybe be a good idea, if you run your program and the error is "wrong answer" it says to you on which testcase it was wrong.

link

answered 30 Mar '16, 20:09

nuboro's gravatar image

1★nuboro
713
accept rate: 0%

That's why I mentioned problems of the contests. Moreover it would obviously be good and appropriate if these test cases are available only after the contest finishes. So in that case we could not print the solution.

(30 Mar '16, 20:27) pwarriors5★

Yeah, just like codeforces. It helps a lot in upsolving.

link

answered 30 Mar '16, 20:42

praran26's gravatar image

6★praran26
1372
accept rate: 0%

Agree. It helps debugging a lot and this will also help those who are new to problem setting/testing, especially with the corner cases.

link

answered 30 Mar '16, 20:57

ash_code's gravatar image

3★ash_code
475114
accept rate: 15%

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,321
×846
×358
×197
×184
×68
×53
×46

question asked: 30 Mar '16, 20:02

question was seen: 2,578 times

last updated: 17 Sep '16, 18:00