首页 > TAG信息列表 > pointNum

LeetCode 93 复原 IP 地址

class Solution { public: vector<string> res; int pointNum; bool isValid(string s, int begin, int end) { if (begin > end) return false; //防止在最后末尾插入. if (s[begin] == '0' && begin != end) return false;