I have also written a code for this solution but during the contest time it's showing Wrong Answer on Pretest 2 ..... why really don't know ..... it passed all the sample cases given in the question . Can you please tell me what's the wrong there ? If you tell I can share the code with you .
@@kanishanand4337 yes i have run the test cases locally ... and after analysing it i have seen that the inputs which are only greater than 9 digits are giving garbage values expect that all other inputs are giving right outputs ... understood that something wrong is there in the code but can't debug it . I am sharing my cp submission link , if possible please tell me what's wrong in my code ! Thank You !!! Link : codeforces.com/submissions/i_am_sam (#111390654)
@@kanishanand4337 okay okay got it ... actually i have taken integer data types to store the numbers .... my bad ... it should be long long int data type . Got it ! btw thank you so much for suggesting to run in local otherwise can't rectify it 😅
I have also written a code for this solution but during the contest time it's showing Wrong Answer on Pretest 2 ..... why really don't know ..... it passed all the sample cases given in the question . Can you please tell me what's the wrong there ? If you tell I can share the code with you .
Try to run the test case locally. I hope the test case is visible to you now.
@@kanishanand4337 Same for me...locally it gave correct output
@@SushantKumar-ui3mn Please share your CF submission link.
@@kanishanand4337 yes i have run the test cases locally ... and after analysing it i have seen that the inputs which are only greater than 9 digits are giving garbage values expect that all other inputs are giving right outputs ... understood that something wrong is there in the code but can't debug it . I am sharing my cp submission link , if possible please tell me what's wrong in my code ! Thank You !!!
Link : codeforces.com/submissions/i_am_sam (#111390654)
@@kanishanand4337 okay okay got it ... actually i have taken integer data types to store the numbers .... my bad ... it should be long long int data type . Got it ! btw thank you so much for suggesting to run in local otherwise can't rectify it 😅