Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.
Given a time (hours as and minutes as ), determine the smaller angle between the two hands of a clock showing the time and print it.
The input will contain two integers: () and ().
Print the angle in degrees (positive and accurate to ).
Input | Output |
---|---|
10 15 | 142.5000000 |
87% Solution Ratio
allocophobiaEarliest,
allocophobiaFastest, 0.0s
wasimur_01Lightest, 0 B
n4o847Shortest, 43B
Login to submit