这道题我足足 Judging 了1分钟,本来以为要MLETLE,结果(https://www.luogu.com.cn/record/196768434)
贴代码:
#include<bits/stdc++.h>
using namespace std;
int main(){
string s;
int a=0,b;
cin>>s;
b=s.size();
for(int i=0;i<b;i++){
if(isalnum(char(s[i]))==0){
continue;
}else{
a++;
}
}
cout<<a<<endl;
return 0;
}
求大佬