judge 难度 2
数清楚出现了几次。
下面代码的输出是 3。 string s = "programming"; int c = 0; for (char ch : s) if (ch == 'm' || ch == 'g') c++; cout << c << endl;