Problem 1377 · Hard
Split the frog probability evenly among unvisited children level by level, and stop when the time runs out.
Open the interactive visualisation