https://hack.codingblocks.com/contests/c/537/100
help pls and also share the code.
Help pls to FINDING CB NUMBERS
This forum is not meant to provide you direct solutions. You can ask doubt in the problem or your code.
For solution you can unlock the editorial of problem.
The problem statement is clear and easy.
The constraints mentioned in problem is also very small.
string length is at max 17
So you can store each number of string in an array and then look for required subarray, and count total number of such arrays.
thanks I got my mistake…