13307: 【基础题】分数化小数(decimal)
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:0
Description
输入正整数a,b,c,输出a/b的小数形式,精确到小数点后c位。a,b <= 10^6, c <= 100。输入包含多组数据,结束标记为a = b= c = 0。如果没有结果输出Error!
Sample Input Copy
1 6 4
2 0 1
0 0 0
Sample Output Copy
Case 1: 0.1667
Case 2: Error!