


There can be two angles between the hour hand and minute hand, you need to print a minimum of two. Also, print the floor value of angle i.e. if the angle is 15.2, you need to print 15.
The first line of input contains an integer ‘T’ denoting the number of test cases.
The first and only line of each test case contains two integers H and M denoting the time in hours and minutes.
For each test case, print the smaller angle between the hour hand and minute hand.
You do not need to print anything, it has already been taken care of. Just implement the given function.
1 <= T <= 50
1 <= H <= 12
0 <= M <= 59
Time Limit: 1 sec
Pair Product Div by K
Pair Product Div by K
Merge Two Sorted Arrays Without Extra Space
Merge Two Sorted Arrays Without Extra Space
Co-Prime
First Digit One
Special Digit Numbers