Problem 45398. Seconds

Given the number of seconds after 12 am, find the time in the given format (12/24).

If the format is not mentioned, use 24-hour format.

For example,

 sec = 120s
 output = '12:02:00:000 AM' 

Solution Stats

7.14% Correct | 92.86% Incorrect
Last Solution submitted on Apr 23, 2020

Problem Recent Solvers5

Suggested Problems

More from this Author145

Problem Tags