删数
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.
Description
给定正整数 和一个 位数,求在 位数中删除 位后剩下的数的最大值。
Input Format
第一行,两个整数 。
第二行,一个 位整数。保证没有前导 。
Output Format
输出剩下的数的最大值。
4 2
1924
94
7 3
1231234
3234
10 4
4177252841
775841
Hint
【数据规模与约定】
- 对于 的数据,。
- 对于 的数据,。
寒假集训_01_15
- Status
- Done
- Rule
- XCPC
- Problem
- 21
- Start at
- 2025-1-15 14:00
- End at
- 2025-1-15 17:00
- Duration
- 3 hour(s)
- Host
- Partic.
- 38