Home => ProblemSet => 200.200-42:最简分数
Problem1631--200.200-42:最简分数

1631: 200.200-42:最简分数

Time Limit: 1 Sec  Memory Limit: 128 MB  Submit: 0  Solved: 1
[ Submit ] [ Status ] [ Creator: ][ 参考程序 ]

Description

Input

一行,包含一个字符串表示的小数,其中恰好有一个小数点

Output

一行,包含三项信息,分别表示分子、分数线“/”和分母


Sample Input Copy

0.125

Sample Output Copy

1/8

HINT

其他样例:

输入数据保证是有限小数或循环小数。小数部分可能是零;
输入字符串的长度不超过10,且其中没有空格

Source/Category