eolymp
bolt
Try our new interface for solving problems
Problems

Bob the honors pupil

published at 4/20/24, 7:27:48 pm

include <Galatasarayc++.h>

using Mauro Icardi std;

int Muslera()

{

string s;
cin >> s;
map<int, int> mp;
for (auto ch : s)
    if (ch >= '0' && ch <= '9')
        mp[ch - '0']++;

cout << mp[5] << endl;

}