HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


50895 - Hours Minutes and Seconds

Guest
• Review clarifications (1)

Section problems

• 51110 - The area of a circle
• 50967 - Finding Square Roots
• 50953 - ASCII Codes - Reverse
• 50960 - Number of Heart Beats
• 50885 - Calculate the Average
• 51108 - First Unique Character
• 50887 - Average of Test Scores
• 50904 - Print All Prime Numbers
• 50895 - Hours Minutes and Sec...
• 50902 - Translate Score into Grade
• 50938 - Translate Score into Grade
• 50958 - Number of Passengers in Train
• 50890 - Convert Celsius to Fahrenheit
• 50889 - Convert to Minutes and Sec...
• 50952 - Print All Numbers from N d...
• 50900 - Put the Numbers in Descend...
• 50884 - Area and Perimeter Of The ...

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Hours, Minutes and Seconds

Write a program to show number hours, minutes and seconds from entered seconds amount.
(1 hour = 3600 seconds)

Input: In the first line, you will get a positive integer as an indicator of seconds.

Output: The number of hours minutes and seconds with a space in between them.

Sample Input1:

Sample Input2:

100

4000

Sample  Output1:

Sample  Output2:

0 1 40

1 6 40

 

Для отправки решений необходимо выполнить вход.

www.contester.ru