The hungry duck - part 1

Hey someones can help me please.

Yeah the “all my tests pass” but it didn’t works :cry:

I using a greedy algorythm (bot or right is better)

if someones can advice me

THX !

A post was merged into an existing topic: [Community Puzzle] The Hungry Duck