经典的字符串分割数字类问题: class Solution { public: int compare(string version1, string version2) { // write code here int i, j; &...