https://www.codechef.com/viewsolution/31454325
What’s the problem with my code ??
11
0 1 0 1 0 0 0 0 0 0 1
Try this
check the condition for sub inside the for loop
11
0 1 0 1 0 0 0 0 0 0 1
Try this
check the condition for sub inside the for loop