https://www.codechef.com/viewsolution/22473533
here is my code.
I have checked it over and over again but cant find the assertion problem.
can anybody help me?
Thanks for your reply, aryanc403.
However, the constraints of this question said abs(n)<= 10^5 and n does not contain the digit 0.
Are there some other errors in my code?
I have changed my code to make them avaiable for negative numbers, but I still get the same error. I have tested all the numbers that I can imagine(1-99999) and all of them give me an answer not an error. How can I know which testcase give me this error?
thank you soooo much aryanc403. it is so sad for me to know the error comes from my misunderstanding about symbols, but I do believe that, with your help, I will not make the same mistake. Thanks again for your patience and help.