I got the output for my code (in c) when I am giving custom input ,but I am having submission error.
When I am printing the input got from stdin I am getting 327460 and 000… for rest of the input.
I am able to run the code in dev c++ and it gives the correct output.
It’s better if you give the submission link.
1 Like
Got the output.