#10960. 删数问题
删数问题
Description
输入一个高精度的正整数n,去掉其中任意s个数字后剩下的数字按原左右次序组成一个新的正整数。编程对给定的n和s,寻找一种方案使得剩下的数字组成的新数最小。
输出新的正整数。(n不超过240位)
输入数据均不需判错。
## Input Format
n
s
## Output Format
最后剩下的最小数。
```input1 175438 4
```output1
13
输入一个高精度的正整数n,去掉其中任意s个数字后剩下的数字按原左右次序组成一个新的正整数。编程对给定的n和s,寻找一种方案使得剩下的数字组成的新数最小。
输出新的正整数。(n不超过240位)
输入数据均不需判错。
## Input Format
n
s
## Output Format
最后剩下的最小数。
```input1 175438 4
```output1
13
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.