Steel rails long are laid at with a small gap between them. Through the year the rails range from to . You will make the program find how the gap changes, and the smallest gap at laying that never closes.
The idea. Each rail grows by , and each gap shrinks by the same amount. With .
Your tasks.
growth, at every temperature in T (negative when colder than at laying).gap0.gap_needed, that is still open at .Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…