Inference, coercion, and conversion

F-CONV-V4-2medium

Read the cue sheet

A film club summarizes runtimes, reads its cue sheet and totals ticket sales.

What needs to change

Repair status so every film’s countdown is right.

Reproduce

  1. Pipe the sample cue sheet into go run main.go and compare each film line.

Acceptance criteria

Your review marks · Saved in this browser. Test acceptance is tracked separately.

Notes

The file contains its imports, readLines and main, which parses the minutes as uint.

Input: up to 100 "film start now" rows with single-word film titles and whole start/now times from 0 to 1440 minutes since doors opened. A negative difference means the film has started. The supplied reader receives valid data.

Sign in to open this exercise

The ticket brief is public. Sign in to access the exercise. Paid exercises require Pro.

Sign in