my code is showing run error in 2 test cases, i have tried but unable to find an error in logic.
https://codeshare.io/2KpQj8
Finding CB numbers
hey @vikanshu2016 since the numbers can have as many as 17 digits you need long long to contain them, so please change int to long long and stoi() to stol().
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.