提交时间:2019-12-07 14:33:24
运行 ID: 2837
#include <iostream> using namespace std; int main() { int N, m, num, x=0 cin >> N >> m; for (int i=0; i<N; i++){ cin >> num; if (num == m) x++; } cout << x << endl; return 0; }