RE in "Check Algorithm" program (CHEALG)

https://www.codechef.com/submit/CHEALG
Anyone please help, its subtask 1 is write it is showing ac but for subtask 0 it is showing some help check the code and help me.

That’s not a link to your submission :slight_smile:

https://www.codechef.com/viewsolution/29777308 is your submission link.

1 Like

also, the size of d should be larger, as d may be longer than the initial string.

sorry…

1 Like

thanks for help, but it still not working…

He solved it.