[NOIP1994][习12.2]删数问题
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.
题目描述
输入一个高精度的正整数 ,去掉其中任意 个数字后剩下的数字按原左右次序组成一个新的正整数。编程对给定的 和 ,寻找一种方案使得剩下的数字组成的新数最小。
输出新的正整数。
输入数据均不需判错。
输入
两行,第一行为 ,第二行为 。
输出
最后剩下的最小数。
样例
175438
4
13
数据范围
不超过 位 。
竞赛B班3.22日
- Status
- Done
- Rule
- IOI
- Problem
- 4
- Start at
- 2025-3-22 17:30
- End at
- 2025-3-29 17:30
- Duration
- 168 hour(s)
- Host
- Partic.
- 7