SOLUTION OF URI 2057 URI SOLUTIONS // Solution of 2057 Time Zone // (Mahmud_Jamil) BRUR #include <stdio.h> int main() { int s, t, f, ans; scanf("%d%d%d", &s, &t, &f); ans = s+t+f; if(ans < 0) ans = 24 + ans; printf("%d\n",ans%24); return 0; } Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook