14 lines
238 B
C++
14 lines
238 B
C++
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
string str;
|
|
int c2;
|
|
|
|
int main() {
|
|
cin >> str;
|
|
for (int i = 0; i < str.size(); i++)
|
|
if (str[i] == '.')c2++;
|
|
|
|
printf("%d \n%d", str.size(), c2);
|
|
return 0;
|
|
} |