Compiles successfully still no test case passes

The approach that you are using will not work if the input is greater than 6. You’re making one very big integer and then printing it. The better approach would be to treat every digit of each line as an individual digit and then output it. That will pass all your test cases. Try that, and if the problem still persists, let me know I’ll share the code with you.

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.