I have tested my code with multiple test-cases and found correct result, but on codingBlocks I got wrong answer for all test-cases.
Can I know where does I have done wrong ? you can just provide a test-case where my code provides wrong-answer.
I have tested my code with multiple test-cases and found correct result, but on codingBlocks I got wrong answer for all test-cases.
Can I know where does I have done wrong ? you can just provide a test-case where my code provides wrong-answer.
Check for this test case:
10200 1
Expected output is: 200
Yours is giving: 0200
Thanks, now I passed all the test-cases with my improved code.
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.