Type: RemoteJudge 1000ms 256MiB

【例29.3】 求小数的某一位

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位的数字是多少?

输入格式

三个正整数aabbnn,相邻两个数之间用单个空格隔开。0<a<b<1000< a < b < 1001n100001\le n\le 10000

输出格式

一个数字。

样例

1 2 1
5

语法组8.10作业——循环结构2

Not Claimed
Status
Done
Problem
14
Open Since
2023-8-10 12:00
Deadline
2023-8-10 17:00
Extension
0 hour(s)