Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
105183 钱泓烨(元气比可乐好喝) NOIP2018 普及:第一题 标题统计 C++ 编译错误 0 0 MS 0 KB 187 2023-06-10 15:54:04

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main(){ string st; getline(cin,st); int ans=0; for(int i=0;i<st.size();i++){ if(st[i]!=' '){ ans++; } } cout<<ans;


测评信息: