@6po

“Distances are in meters, rounded to the nearest centimeter. That is, distances are rounded to the nearest multiple of 0.01”

What do you get when you round your 0.0363 and 0.0771 jump distances?

@6po

“Distances are in meters, rounded to the nearest centimeter. That is, distances are rounded to the nearest multiple of 0.01”

What do you get when you round your 0.0363 and 0.0771 jump distances?

Thanks for making me feel so stupid !

I read this “rounded” statement but I didn’t measure it was useful in this context.

Thanks @Mercy38

Yep. I finally found the solution. It seems the problem was that I was looping through the list to find the position of my frog. I rather inserted my computed distance into the list, sorted / reversed the list and output the index+1 of my computed distance.

Thanks for your help.

I am a bit confused, “The frog isn’t at 0 0” validation fails.

All test cases pass and all other validation tests pass.

I do use the frog’s starting position and cant think of the problem.

My frog in the same test case has a jump length of 3.94m if that helps compare with other peoples results.

Did anybody experience this and what was changed to get100%?

Hello, I have a problem with the resolution : all my tests pass.

But the test n°7 (“A different angle”) of the validator don’t pass.

I double check, the angle can be whatever the results seems to be the one expected (0 meter if angle == 90°, negative x if angle is between 91° and 179°, etc.).

Can someone tell me what’s wrong ? Thank you in advance