题目:
Count the number of segments in a string, where a segment is defined to be a contiguous sequence of non-space characters.Count the number of segments in a string,
Count the number of segments in a string, where a segment is defined to be a contiguous sequence of non-space characters.Count the number of segments in a string,