666!惊讶!
查看原帖
666!惊讶!
926385
zeng_yanqin楼主2024/11/13 19:49
#include<iostream>
#include<string>
using namespace std;
int main(){
    string s;
    int ans=0;
    while(cin>>s)
    	ans+=s.length();
	cout<<ans<<endl;
    return 0;
}

输入234,输出没给我,还能打100,666

2024/11/13 19:49
加载中...