HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginners > problem:


015. 50356 - Hours Passed

Guest
• Discussion of problem (2)

Volume problems

• 50579 - Pentagonal Numbers
• 001. 51153 - A+B.
• 002. 50348 - Area and Perimeter of ...
• 003. 50349 - Area of a Triangle
• 004. 50350 - Fahrenheit to Celsius
• 005. 50797 - Nr of Missing Guests
• 007. 50280 - Division
• 010. 50357 - Convert Euros into Dol...
• 015. 50356 - Hours Passed
• 020. 50351 - Convert inches to cm
• 025. 50294 - Centimeters to Yards
• 028. 50521 - Pound to Grams
• 030. 50341 - Separate Into Digits
• 034. 50502 - Welcome Andi - 1
• 040. 50879 - Passed or Failed
• 040. Problem 1
• 042. 50798 - Passing the course

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.
Question by Ibrahim Mesecan. Difficulty Alpha

Hours Passed

Write a program that converts the given Seconds into Hours, Minutes and Seconds.
For example if 3700 seconds is given, it makes 1 hour and 1 minutes and 40 seconds.

Input specification
You will be given an integer number (Seconds) where 0 ≤ Seconds ≤ 84000

Output specification
Show three integers Hours Minutes and Seconds.

Sample Input I
  3530
Sample Input II
  7300
Sample Output I
  0 58 50
Sample Output II
  2 1 40


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

www.contester.ru