Description: 【Description】 general problem of the clock and the clock minute hand has, at any time there is a clock and the angle between minute hand and hour hand and minute hand is the assumption that continuous movement. Now know the current moment, try to derive the moment and the minute hand clockwise angle A (0 ≤ A ≤ 180).
Note: When the minute hand at 0 hours and 59 minutes between when the clock relative to the start position of the hour there is a migration perspective.
】 【Input form to read from standard input line, is a 24-hour time system. Format is a colon-separated (":") two integer m (0 ≤ m ≤ 23) and n (0 ≤ n ≤ 59), in which m is the hour, n is the minutes.
】 【Output format print results to standard output. Output of a floating-point A, is the angle between the clock and the minute hand angle. Floating-point numbers to retain the value 3.
】 【Input sample
8:10
【Output sample】
175.000
【Description】 8:10 sample clock with second hand at all times that the angle is 175.00
To Search:
File list (Check if you may need any files):
clock (2).txt
clock.c
clock.txt