Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
105199 NOIP2018 普及:第一题 标题统计 C++ 通过 100 0 MS 276 KB 201 2023-06-10 16:05:13

Tests(20/20):


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


测评信息: