> 先选长的,长度相同就从第一个元素比较下来,遇到第一个较大元素时选择那个方案
这个不叫字典序... 我还特地试了下字典序大的...
Lexicographical comparison is a operation with the following properties:
+ Two ranges are compared element by element.
+ The first mismatching element defines which range is lexicographically less or greater than the other.
+ If one range is a prefix of another, the shorter range is lexicographically less than the other.
+ If two ranges have equivalent elements and are of the same length, then the ranges are lexicographically equal.
+ An empty range is lexicographically less than any non-empty range.
+ Two empty ranges are lexicographically equal.
还有如果数组是和我一样倒着存的...注意一下