ans

chenyining 2022-11-19 10:12:56 2022-11-19 10:13:19 32 返回题目

#include<bits/stdc++.h>

using namespace std;

int main()

{

string s;

getline(cin,s);

int cnt=0;

for(int i=0;i<s.size();i++){

	if(s[i]!=' ')cnt++;

}
cout<<cnt;

return 0;

}

{{ vote && vote.total.up }}