d3v4n5h's blog

By d3v4n5h, history, 22 months ago, In English

Greetings,

Recently, I came across a Div 2 contest B Problem, and after submitting the code, I was seeing in the Verdict column, 'Running on test 3', 'Running on test 4', 'Running on test 5'...

My question is if the verdict is shown as 'Running on test 5', is it safe to assume that my code has passed all the previous 4 test cases successfully?

Also, I would like to know is there a predefined number of test cases for the different types of classified problems such as Div2-Problem B, Div3-Problem C...?

  • Vote: I like it
  • +14
  • Vote: I do not like it

»
22 months ago, # |
  Vote: I like it +9 Vote: I do not like it

Most of the time when it says "Running on test 5" it means it has passed the previous 4 test cases successfully, except if the contest has a subtask system (such as when submitting to Teamscode.)

There is no predefined number of test cases for different problem levels, although easier problems usually have less test cases/multitests to make systesting go faster. However if pretests are weak, this can lead to a lot of successful hacks and more tests.

  • »
    »
    22 months ago, # ^ |
      Vote: I like it +14 Vote: I do not like it

    Thank you very much! This was really helpful to know.