run time error is showing in my code.
here’s description link of my code
Https://online.codingblocks.com/app/player/43294/content/53634/4873/code-challenge
hey @Samriddhshawarma there were couple of small mistakes in your code
- since size of string could be as large as 10^4 please increase size of character array to atleast 20002
- put a[t+1] = ‘’ not a[t=1] = '’;
here is your code after rectifications
https://ide.codingblocks.com/s/193289
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.