krishrb2517_'s blog

By krishrb2517_, history, 16 months ago, In English

Can anyone help me in figuring out the reason behind this runtime error

Here's my submission link : https://codeforces.net/contest/1850/submission/214987806

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

»
16 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Before taking all the inputs you're ending your function

Look

»
16 months ago, # |
  Vote: I like it 0 Vote: I do not like it

you've terminated your function while not complete input for one test case

  • »
    »
    16 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    ok bro , got it thanks!!

  • »
    »
    16 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    hi ! What is your code editor ? Is this editor for MacOS ?

    • »
      »
      »
      16 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      no this is Codeforces submission page, but I use dark reader extension so it looks like that