华中科技大学机试题目-统计单词

题目简单,注意细节。 #include<bits/stdc++.h> using namespace std; const int maxn = 105; int main(){ char s[maxn]; while(gets(s)){ int len = strlen(s); int cnt = 0; bool count = 0; for(int i=0;i<len;
相关文章
相关标签/搜索