3360 精度计算


Submit solution

Points: 10
Time limit: 2.0s
Memory limit: 256K

Problem types
Allowed languages
C, C++, Java, Python

描述

输入两个10000以内的正整数X、Y,求X除以Y的值。要求精确到小数点后100位,如果在100位内出现循环节,请用括号标出。如:51/7=7.(285714)。

输入格式

两个整数,用空格分开。

输出格式

按照要求,输出X除以Y的值。

样例输入

[样例一]
51 7

[样例二]
21 7

样例输出

[样例一]
7.(285714)

[样例二]
3

限制

1 second

来源

SQ


Comments

There are no comments at the moment.