Please, try EDU on Codeforces! New educational section with videos, subtitles, texts, and problems. ×

Qualified's blog

By Qualified, history, 4 weeks ago, In English,

When you get a WA on a testcase, do you look at the test case that you failed at or do you simulate a contest by not looking at the test cases. Thanks in advance.

 
 
 
 
  • Vote: I like it
  • -8
  • Vote: I do not like it

»
4 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

You should discover the wrong test without looking at the test case, Because during contests, test cases are not available.

»
4 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

I do not advise doing this, it can lead to a habit and you will repeat it without even trying to think a little. I advise you to write a slow solution (which receives a TL) and find a test for which a slow solution passes (TL), but yours does not

  • »
    »
    4 weeks ago, # ^ |
      Vote: I like it -8 Vote: I do not like it

    Thanks! I always looked at the test case when I get a WA.