摘要:
class Solution { public: int myAtoi(string str) { int index = -1; int result = 0; int base = 10; int ssize = str.size(); bool negtive = false; whil... 阅读全文
摘要:
class Solution { public: bool match(string s, string p, int ss, int ps){ int psize = p.size(); int ssize = s.size(); while (ps < psize && ss < ssize){ char c = p[ps]; if (c != '.'... 阅读全文