MEXSTR Where is my code wrong

https://www.codechef.com/viewsolution/44976050

Try to give test cases which fail

Please either format your code (all of it!) or (better!) link to your submission - the forum software has mangled it and it won’t compile! :slight_smile:

Edit:

This gives “Access Denied”.

If you want to link to your submission, it looks like this:

https://www.codechef.com/viewsolution/44976050

1 Like

Please check now

1 Like

for the given test case

3
1011011100
11000001
110101110001000

Expected Output should be
10001
1010
100011

while your output is
100000
1110
11111111

1 Like

Thanks , I get it …