1071 Speech Patterns (25 point(s))

 题解 isalnum 判断字符变量c是否为字母或数字,若是则返回非零,否则返回零。 tolower是一种函数,功能是把字母字符转换成小写,非字母字符不做出处理。 #include<iostream> #include<map> #include<cctype> using namespace std; int main() { string t; getline(cin, t); map<
相关文章
相关标签/搜索