Only 2 test cases are getting wrong

2 test cases are not getting passed. Please help me out

@kodivine0 hey instead of fixing the start, fix the length, first considers all CB numbers of len 1 then of len 2 and so on.


Here look at this code for reference.
If this resolves your doubt mark it as resolved.

https://ide.codingblocks.com/s/245267 …please check my code

@kodivine0 hey I had seen your code then only I told you correction, approach is wrong so code correction would be changing the entire code, that is why I provided you the new code for reference.
If this resolves your doubt mark it as resolved.

the code you provided is giving run error. Please check it.

@kodivine0 just remove the

#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
	#endif	

statement block in main function, it would work fine then