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

Tests(20/20):


#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; return 0; }


测评信息: