Type: Default 1000ms 128MiB

digit 函数

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.

题目描述

在程序中定义一函数 digit(n, k),它能分离出整数 nn 从右边数第 kk 个数字。

输入

正整数 nnkk

输出

一个数字。

样例

31859 3
8

基础赛

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
13
Start at
2023-12-4 12:30
End at
2023-12-25 8:30
Duration
500 hour(s)
Host
Partic.
46