I was solving “The Gray Similar Code” problem on CodeChef.
Problem Link: https://www.codechef.com/problems/GRAYSC
My solution: https://ide.codingblocks.com/s/240434
Why my code is showing the wrong answer?
I was solving “The Gray Similar Code” problem on CodeChef.
Problem Link: https://www.codechef.com/problems/GRAYSC
My solution: https://ide.codingblocks.com/s/240434
Why my code is showing the wrong answer?