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),它能分离出整数n从右边数第k个数字。

输入

正整数n和k。

输出

一个数字。

样例

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