Question 16
Speakers and pointers
You are given a new speaker. The speaker contains three circular knobs and they are used to adjust the following:
• Volume
• Bass
. Treble
Initially, the pointers on the knobs are in random angles and they are measured from the positive e axis. You want to rotate th
direction in such a way that all three pointers are in the same direction. In other words, the pointers of the knobs must make
the positive z axis.
Note: The knobs can be rotated either in the clockwise or anticlockwise direction.
Your task is to determine the minimum sum of the degrees that the pointers must be rotated such that all the pointers are
direction.
Input format
• The first line contains an integer I denoting the number of test cases.
. The next line contains three space-separated integral angles measured in degrees.
Answers
Answered by
4
Answer:
let m word do correctly
Similar questions