观雨小粉丝
About
Posts
Written by
hanhan
on
November 29, 2015
valid number
解法一:
skip the leading whitespaces;
then, skip the sign;
for, until 不等于’.’ or is not a digit,必须保证’.’数量<=1, digit数量 >= 1;
skip the trailing whitespaces;
←
Top