That link was wrong! I changed it:D
Taran, sorry for posting that link which didnât work. I updated it. Can you help me?
But i tested my code on clion and codechef compiler, it didnât printed any leading zeroes.Could you please specify the test case in which it printed leading zeroes.
In problem maximum number in my code I am not able to figure out mistake.
It gives wrong answer on submission.
Can anyone help me debugging it.
Link to my code is
Please help
The link that I gave before was not working , Sorry for thatâŚ
Now I updated the link
Try the test case
1
3602
Correct answer is 360
PS:what if last two digits are both even and last digit on deletion gives the maximum answer.
Enjoy coding
Hey
Try the following test case
1
630
Correct answer is 60.
Enjoy coding (PS:i wonât tell the bug)
i dont know why my code is getting wrong anser.
please help me;
link is https://www.codechef.com/viewsolution/16015871
Try test case
1
660
Correct answer 66, your answer 60
thanks,buddy
i dont know why my code is getting wrong answer, please help; link https://www.codechef.com/viewsolution/15998613
You cannot take a number with 10^5 digits as int data type. You have to take it as string.
Try following test case
1
11100000000000000000000
Enjoy
simply just check when sum of the digit >= 10 take mod of the ans and store it in an array during calculation in O(n) time then print the same
thanks much!
Hey can anyone plz tell me whatâs wrong with this code?
https://www.codechef.com/viewsolution/15993064