阅读背景:

PAT甲级——A1038 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 are s




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

分享到: