求小数的某一位

Luogu
IDLGB2073
Time1000ms
Memory128MB
DifficultyP1
循环结构
分数 $\dfrac{a}{b}$ 化为小数后,小数点后第 $n$ 位的数字是多少? ## Input 三个正整数 $a$,$b$,$n$,相邻两个数之间用单个空格隔开。$0<a\le b\le100$,$1 \le n \le 10000$。 ## Output 一个数字。 [samples]
Samples
Input #1
1 2 1
Output #1
5
API Response (JSON)
{
  "problem": {
    "name": "求小数的某一位",
    "description": {
      "content": "分数 $\\dfrac{a}{b}$ 化为小数后,小数点后第 $n$ 位的数字是多少?",
      "description_type": "Markdown"
    },
    "platform": "Luogu",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 131072
    },
    "difficulty": {
      "LuoguStyle": "P1"
    },
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "LGB2073"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "分数 $\\dfrac{a}{b}$ 化为小数后,小数点后第 $n$ 位的数字是多少?\n\n## Input\n\n三个正整数 $a$,$b$,$n$,相邻两个数之间用单个空格隔开。$0<a\\le b\\le100$,$1 \\le n \\le 10000$。\n\n## Output\n\n一个数字。\n\n[samples]...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments