#B. 求小数的某一位(小学奥数)

    Type: Default 1000ms 256MiB

求小数的某一位(小学奥数)

No testdata at current.

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.

Background

Description

分数a/b化为小数后,小数点后第n位的数字是多少?

Format

Input

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

Output

一个数字。

Samples

1 2 1
5

Limitation

C++基本知识

Not Claimed
Status
Done
Problem
7
Open Since
2024-7-22 0:00
Deadline
2024-7-29 23:59
Extension
24 hour(s)