Please help me understand the issue here. When I run my code on codeblocks(V20.03) it gives me output as intended. But when I submit my code on CF or ideone, it shows me wrong answer or does not give the output as intended. Here is the problem statement and also the code that I submitted:
problem statement: 151B - Phone Numbers
my submission: 145356990
It is a long code as I still write code like a noob. So, sorry for that. Please help me understand the main issue here. It will be really helpful. ===TIA===