阅读背景:

浙大PAT_1038:Recover the Smallest Number 解题报告

来源:互联网 

题目:Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given {32, 321, 3214, 0229, 87}, we can recover many numbers such like 32-321-3214-0229-87 or 0229-32-87-321-3214 with respect to different orders of combinations of these segments, and the smallest number is 0229-321-3214-32-87.题目:Given a collection of number segments, you a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: