https://leetcode.com/problems/ambiguous-coordinates/ 解题思路 先把string分成左右两部分,每部分至少有一个值,中间放入逗号空格。 再对每部分放小数点,放小数点时把不被允许的情况排除在外。