HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2016 > problem:


8-P5. 50895 - Hours Minutes and Seconds

Epoka Science Olympiad 2016

Start: Apr.11.2016 at 02:07:57 PM
Finish: Apr.24.2016 at 05:00:00 AM
The contest is finished!
• Contest scoreboard

Guest
• Review clarifications (1)

Contest problems

• 8-1. 50950 - Biggest Number
• 8-2. 50951 - Odd Numbers
• 8-3. 50952 - Print All Numbers from...
• 8-4. 50953 - ASCII Codes - Reverse
• 8-5. 50974 - Area of the circle
• 8-P2. 50892 - Even Numbers
• 8-P3. 50893 - Print All Numbers
• 8-P4. 50894 - ASCII Codes
• 8-P5. 50895 - Hours Minutes and...
• 9-1. 50957 - Divisible by 3
• 9-2. 50958 - Number of Passengers ...
• 9-3. 50959 - Draw the Pattern
• 9-4. 50960 - Number of Heart Beats
• 9-5. 50961 - Order of 3 Runner
• 9-P1. 50896 - Sum of Even Numbers
• 9-P2. 50897 - Prime Number
• 9-P3. 50898 - Draw the Pattern

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