#P1888. 三角函数
三角函数
Description
Given a Pythagorean triple , output the sine of its smaller acute angle in fractional form. Reduce it to lowest terms.
Input Format
One line containing three positive integers, i.e., the Pythagorean triple (in any order).
Output Format
One line containing a fraction, which is the sine of the smaller acute angle.
3 5 4
3/5
Hint
The testdata guarantees that are positive integers and .
Translated by ChatGPT 5
京公网安备 11011102002149号