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!
Edit:
This gives “Access Denied”.
If you want to link to your submission, it looks like this:
Please check now
for the given test case
3
1011011100
11000001
110101110001000
Expected Output should be
10001
1010
100011
while your output is
100000
1110
11111111
Thanks , I get it …