Mock CCC '19 Contest 1 J2 - Pusheen OCR
Source Code
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
string w, ori = "pusheen";
cin >> w;
int c = 0;
for(int i = 0; i < 7; i++){
if(w[i] != ori[i]) c++;
}
cout << c << "\n";
return 0;
}