Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
3336 OscarWLY 统计次数 C++ 通过 0 MS 256 KB 217 2023-01-01 15:38:42

Tests(1/1):


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


测评信息: