Problem Link: DIFFCONSEC Problem - CodeChef

### suppose we have a string S of length 4 ,S = 0001.

Let’s make change to 2nd zero of string S(0001) to 1,so that it become 0101. As in just one change given String S is made so that no two consecutive characters are same in S.

But all the correct submission code of this problem gives its answer as 2 which is wrong.

Given n = 4; string = 0001.

correct answer = 1;

all correct submission code answer = 2. which is obviously wrong as explained above.