Problem1287--【例29.3】 求小数的某一位

1287: 【例29.3】 求小数的某一位

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 64 MB

Submit

Description

[md] 分数$\frac{a}{b}$化为小数后,小数点后第$n$位的数字是多少? [/md]

Input

[md] 三个正整数$a$,$b$,$n$,相邻两个数之间用单个空格隔开。$0< a < b < 100$,$1\le n\le 10000$。 [/md]

Output

[md] 一个数字。 [/md]

Sample Input Copy

1 2 1

Sample Output Copy

5

HINT

[md] [/md]

Source/Category