This is a simple problem, you just have to print the result of x divided by 999.
Fantastic news! We've Found the answer you've been seeking!
Question:
This is a simple problem, you just have to print the result of x divided by 999.
Format Input: The input consists of 3 integers x1 , x2 , and x3 .
Format Output: The output consists of 3 lines. The i-th line consist of the result of xi divided by 999. If the result is a repeated decimal, output the repeated value with "...".
Constraints: 1 <= x1 , x2 , x3 <= 998
Sample Input | Sample Output
1 | 0.001...
10 | 0.010...
998 | 0.998...
Explanation: 1/999 = 0,001001001001... because 001 is repeated just output "0.001..."
10/999 = 0,010010010010... because 010 is repeated just output "0.010..."
998/999 = 0,998998998998998998... because 998 is repeated just output "0.998...
Related Book For
Posted Date: