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

improvement_19's blog

By improvement_19, history, 3 years ago, In English

http://codeforces.me/contest/126/problem/B i have tried to solve this problem but it gave runtime error on 26 th tc https://codeforces.me/contest/126/submission/120644479 please help thanks in advance

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

| Write comment?
»
3 years ago, # |
  Vote: I like it +1 Vote: I do not like it

cause,string size can be upto 1e6 but u have fixed your N to 1e5,changing it to 10^6 clears runtime error but gives wa on tc 52