Please read the new rule regarding the restriction on the use of AI tools. ×

krishrb2517_'s blog

By krishrb2517_, history, 14 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

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

Before taking all the inputs you're ending your function

Look

»
14 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

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

    ok bro , got it thanks!!

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

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

    • »
      »
      »
      14 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