GO Solution For UVa 10371 - Time Zones. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

Prior to the late nineteenth century, time keeping was a purely local phenomenon. Each town would set their clocks to noon when the sun reached its zenith each day. A clockmaker or town clock would be the “official” time and the citizens would set their pocket watches and clocks to the time of the t

...

You can find the full details of the problem Time Zones at UVa Online Judge

Sample Input

4
noon HST CEST
11:29 a.m. EST GMT
6:01 p.m. CST UTC
12:40 p.m. ADT MSK

Sample Output

midnight
4:29 p.m.
12:01 a.m.
6:40 p.m.

Solution: Please check the main.go snippet for the solution.

Solution originally posted at: Github by @codingsince1985