文章
113
粉丝
1
获赞
863
访问
31.0k
#include <bits/stdc++.h> using namespace std;
int main(){ int n; while(cin >> n && n != 0){ int num[105] = {0}; while(n--){ int temp; cin >> temp; num[temp]++; } int res; cin >> res; cout << num[res] << endl; }
return 0; }
登录后发布评论
暂无评论,来抢沙发