When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

PARTHO_DAS's blog

By PARTHO_DAS, history, 4 years ago, In English

I am a noob programmer but my I accepted a problem in CF global round 5. But in the main test got no verdict at that problem then I clicked on my profile submission and I saw runtime error in case no: 1 how this is possible? It comes runtime error in CF in the main test case 1 but in but pretest it was fine in pre-test. it also works fine in ideone. problem link https://codeforces.com/contest/1237/problem/B?statementsLocale=en my solution. https://ideone.com/prrXp7

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

»
4 years ago, # |
Rev. 3   Vote: I like it -12 Vote: I do not like it

I think its because you are a NOOB lol .

ps — Because pretests $$$\neq$$$ actual large tests .

  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    yah. but it got an error in case no 1 which also appeared in pre test

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

During a contest, your solution is judged with weak test cases. After the contest it's judged with test cases made by other contestants trying to "hack" other's solutions, that is, creating test cases for making other's solutions fail.

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

Auto comment: topic has been updated by PARTHO_DAS (previous revision, new revision, compare).

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

Auto comment: topic has been updated by PARTHO_DAS (previous revision, new revision, compare).