摘要: #includeusing namespace std;int first_maxLen(string newstr){ int i=0; int n=newstr.size(); int temp_len=0; char br=' '; if(newstr[0]=='w'){ while(i<n){ if(newstr[i]=='w' || newstr[i]==br){ temp_len++; i++; continue; ... 阅读全文
posted @ 2013-07-17 20:09 开心成长 阅读(207) 评论(0) 推荐(0) 编辑