There are a number of tracks that are part of a record label. Print the list of tracks in the appropriate format.
The input starts with an integer denoting the number of tracks. The next lines are on the format “name–duration”, where name is the name of the track and duration is an integer describing the duration in seconds.
For each track in the order they appear in the input, print one
line:
Track: XXX [YYYs]
Here, XXX is the name of the track and YYY is its duration.
Author: Anders Jonsson
Generation: 2026-01-25T21:37:38.596Z
© Jutge.org, 2006–2026.
https://jutge.org