I get proper answer as required for this problem:
My solution is:
https://www.codechef.com/viewsolution/26060847
It is showing “Wrong solution” when i submit my solution. What is my mistake?
I get proper answer as required for this problem:
My solution is:
https://www.codechef.com/viewsolution/26060847
It is showing “Wrong solution” when i submit my solution. What is my mistake?
https://www.codechef.com/viewsolution/24542586
i did this…to solve the question
i feel like you are missing a few test cases
compare test cases from my solution to yours
i suggest looking for values above 100!