My code passes the test cases given in the problem , but when i submit my solution i get WA , what is wrong with my solution ? https://ideone.com/m2BDPf
My code passes the test cases given in the problem , but when i submit my solution i get WA , what is wrong with my solution ? https://ideone.com/m2BDPf
What is the way to solve this problem ? UVA 11604