Hello,
I have been trying to solve this practice problem H1, H1 Problem - CodeChef
Here is my code: CodeChef: Practical coding for everyone
It gives me WA. But I verified my solution against a previously accepted solution. All I needed to do is to check if my dictionary ‘depths’ is matching with the corresponding dictionary in an accepted code. And they were matching!
Can somebody please help me figure out why I’m geting WA?
Thanks in advance!