Because of necessary software maintenance, Jutge.org may not work well on the afternoons of the 20th and 21th of april.
Descomposició horària (1)
P37469
Statement
html
Feu un programa que, donada una quantitat de segons,
digui quantes hores, minuts i segons representa.
Entrada
L’entrada consisteix en un natural n.
Sortida
Escriviu tres naturals h, m, s tals que
3600h+60m+s=n, amb m<60 i s<60.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.