Text Roll

From programming_contest
Jump to navigation Jump to search

Go line by line, remember where the ball fell from, and find the next whitespace greater than or equal to this whitespace.