Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
24520 LeoWang 统计次数 C++ 通过 0 MS 256 KB 224 2023-08-14 01:51:45

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { string s; cin>>s; cout<<s.length()<<endl; int sum=0; for(int i=0;i<s.length();i++){ if(s[i]=='.'){ sum++; } } cout<<sum; return 0; }


测评信息: