1 Like
Please either format your code or link to your submission - the forum software has mangled it and it won’t compile! ![]()
1 Like
Thanks 
Consider the testcase:
1
110
1 Like
thanks , i forgot to put one condition .
Now it’s solved.
1 Like