拼最大整数
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.
说明
设有个正整数(),将它们联接成一排,组成一个最大的多位整数。
例如: 时,个整数,,联接成的最大整数为:。
又如:时,个整数,,,联接成的最大整数为:。
输入格式
第一行,一个正整数。
第二行,个正整数。
输出格式
一个正整数,表示最大的整数。
样例
3
13 312 343
34331213
算法组第五次授课
- Status
- Done
- Rule
- IOI
- Problem
- 7
- Start at
- 2023-11-26 14:00
- End at
- 2023-11-26 17:00
- Duration
- 3 hour(s)
- Host
- Partic.
- 23