abc172_b - Minor Change
28 Jan 2021 — Tags: None
Click to show code.
using namespace std;
int main(void)
{
int ans = 0;
string s, t;
cin >> s >> t;
for (int i = 0, n = s.size(); i < n; ++i)
{
ans += (s[i] != t[i]);
}
cout << ans << endl;
return 0;
}