#t246. 求 A/B 高精度值(ab)

求 A/B 高精度值(ab)

Computing the Exact Value of A/B

Problem Background

Special for beginners, ^_^

Problem Description

Compute the exact value of A/B, where A and B are positive integers not exceeding 30. The result should be accurate to 20 decimal places (if the decimal expansion has fewer than 20 digits, do not pad trailing zeros).

Input Format

The values of A and B.

Output Format

Output the value of A/B. The fractional part must contain at least 1 digit.

The output must begin with A/B= (using the actual input values of A and B), followed by the decimal expansion. Print this prefix and the digits exactly as shown in the samples.

Sample Input 1

4 3

Sample Output 1

4/3=1.33333333333333333333

Sample Input 2

6 5

Sample Output 2

6/5=1.2

Sample Input 3

10 5

Sample Output 3

10/5=2.0

Constraints

1s, 1024KiB for each test case.