文章
211
粉丝
1
获赞
1164
访问
48.7k
#include<bits/stdc++.h> using namespace std; int main(){ int n; while(cin >> n){ if(n == 0) break; map<int,int> mp; while(n--){ int x; cin >> x; mp[x]++; } int g; cin >> g; cout << mp[g] << endl; } return 0; }
登录后发布评论
暂无评论,来抢沙发