Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem2893--除法-10积分
2893: 除法-10积分
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
49
Solved:
25
[
Status
] [
Submit
] [Creator:
]
Description
输入三个正整数a,b,n,输出a除以b的值,要求计算结果精确到小数点后n(1<=n<=200)位
Sample Input
Copy
1 3 4
Sample Output
Copy
0.3333
HINT
输入:2017 27 10
输出:74.7037037037
模拟除法过程,不用格式函数setprecision
Source/Category
基础C