【例6.3】删数问题(Noip1994)
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.
【题目描述】
输入一个高精度的正整数n,去掉其中任意s个数字后剩下的数字按原左右次序组成一个新的正整数。编程对给定的n和s,寻找一种方案使得剩下的数字组成的新数最小。
输出新的正整数。(n不超过240位)
输入数据均不需判错。
【输入】
n
s
【输出】
最后剩下的最小数。
【输入样例】
175438
4
【输出样例】
13
【来源】
一本通在线评测
C23天河寒假作业3-基础算法
- Status
- Done
- Problem
- 17
- Open Since
- 2024-1-30 0:00
- Deadline
- 2024-3-31 23:59
- Extension
- 24 hour(s)