求小数的某一位

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

【题目描述】

分数ab\frac{a}{b}化为小数后,小数点后第nn位的数字是多少?

【输入】

三个正整数abna,b,n,相邻两个数之间用单个空格隔开。0<a<b< 100,1≤n≤10000。

【输出】

一个数字。

【输入样例】

1 2 1

【输出样例】

5

【来源】

一本通在线评测

大明

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
38
Start at
2025-2-11 16:00
End at
2025-2-28 8:00
Duration
400 hour(s)
Host
Partic.
7