Share Equally
Hard · Variables
Karel stands on a big pile of balls at the start of the row. Share the balls fairly: every square of the row should end up with the same number of balls, and none may be left over.
The pile always divides evenly. Your code runs in several worlds with different widths and pile sizes, so count both the balls and the squares.
Next: Grow the Towers