摘要: char* longestCommonPrefix(char** strs, int strsSize) { if(strsSize == 0)return ""; for(int i = 0 ; strs[0][i] ; i ++){ for(int j = 1 ; j < strsSize ; 阅读全文
posted @ 2017-12-20 14:21 朽木の半夏 阅读(88) 评论(0) 推荐(0) 编辑
摘要: class Solution {private: static int a[200]; static map<int,string> mp; static vector<int> vec_list; void init (){ if(a['I'])return ; a[0] = 0; a['I'] 阅读全文
posted @ 2017-12-20 12:03 朽木の半夏 阅读(91) 评论(0) 推荐(0) 编辑