MATCHES - Editorial

because we are using while function whose complexity is in log and we are using the sum of a+b as parameter in while loop so it is log(a+b)

hello guys, it would be great if u"ll look into my code and help me in figout what is wrong with my code , firstly i add that two value and then i use % operator to access each digit, then i use a switch case to check the value and then i added the value to find the total matches would be required, the code runs perfectly in compile and run case but show wrong answer during the submission…

https://www.codechef.com/viewsolution/73880911