idr's blog

By idr, history, 7 years ago, In English

Hello, I was trying to solve a problem on Codechef where I had to process a string of max size 10^5. When i was using c++ string to store the string i got Runtime error/Time limit exceeded as the judge response but the solution got successfully executed when i used a char array with size 100005. I would like to know the reason behind it? Thanks.

Full text and comments »

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