Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
105235 顾瀚阳Han24666 NOIP2018 普及:第一题 标题统计 C++ 通过 100 0 MS 280 KB 205 2023-06-10 16:44:01

Tests(20/20):


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


测评信息: