Hours and minutes
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version.
Hours and minutes
AS 9618 · Algorithm writing
Read the question below and attempt it before opening support. Use the specified input/output contract. Check runs several independent cases; one sample output is not enough.
Read a non-negative whole number of minutes. Output complete hours, then leftover minutes on a new line.
Click Run to see the output here.