#229. 简单游戏
简单游戏
Background
土拨鼠瑞嘉都会做的简单游戏
Description
给你两个个数字, 对数字进行次操作, 对于每一次操作, 如果的个位数非0, 则减1, 否则缩小10倍.
Format
Input
两个整数
Output
输出最后的结果
Samples
512 4
50
1000000000 9
1
Limitation
1s, 1024KiB for each test case.
Statistics
Related
In following contests: