标题统计 题解
2025-11-16 23:01:51
发布于:新加坡
3阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main(){
string title;
int count = 0;
getline(cin,title);
for (char c : title) {
if (isalnum(c)) {
count++;
}
}
cout << count;
return 0;
}
这里空空如也

有帮助,赞一个