Docoding OJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
Register
1882: 【信息学奥赛一本通】求小数的某一位
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:109
Solved:76
Submit
Submit Record
Statistics
ShowOff!
Description
分数
a/b
化为小数后,小数点后第
n
位的数字是多少?
Input
三个正整数
a,b,n
相邻两个数之间用单个空格隔开。
0<a<b<100,1≤n≤100000
。
Output
一个数字。
Sample Input
Copy
1 2 1
Sample Output
Copy
5
Source/Category
基础
循环
for
白银
Submit
Submit Record
Statistics
ShowOff!