Hepic_Antony_Skarlatos's blog

By Hepic_Antony_Skarlatos, 7 years ago, In English

My question is for the problem above in the title. I wrote a solution and in all testcases until 19 it was accepted. In 20 it printed that: "wrong answer Integer parameter [name=current length] equals to 0, violates the range [1, 5962]"

What that means?? What is my error?? It is in size?? or something else?

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

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

I think that means one of your groups has size 0.