krow_drah's blog

By krow_drah, history, 2 years ago, In English

Hi, I was trying to solve 1394A - Boboniu Chats with Du. I think my solution is correct as it is working fine in most of Test-cases but in the Test Case 7 its giving Runtime Error. I tried different things but i am not able to know what is wrong in my code. Submission Link : 172417406

Can you please tell me where i am doing wrong.

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

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

In the while loop add this condition j < s.size() along with days > 0