Write a methodwhatTime
which takes anint
representing the number of seconds since midnight on some day, and returns astring
formatted as H:M:S.
(Full problem specification is copyright TopCoder; and, can be found in the TopCoder problem archives.)
Solution.
Unit Tests For Sample Data.
This problem was used as the Division 2 200-point problem. Being a 200-point problem, it's very straightforward; and, there are no real "gotchas" involved in the solution.
No comments:
Post a Comment