Https://www.codechef.com/viewsolution/24418554

https://www.codechef.com/viewsolution/24406106 can anyone please please help me i started doing coding recently and my output is not showing correct result can anyone suggest me where I went wrong in my code I will be thankful to him the link for the question is given below. https://www.codechef.com/problems/CATSDOGS

  • use long long instead of int
  • still it will give TLE optimize it

thanks for the help.