标签:
3 80 60 90 60 2 85 66 0 5 60 75 90 55 75 75 0
1 0 2
#include<iostream> using namespace std; int main(){ int n; while(cin>>n&&n!=0){ int m[101]={0}; int a; for(int i=0;i<n;i++){ cin>>a; m[a]++; } cin>>a; cout<<m[a]<<endl; } }
标签:
原文地址:http://www.cnblogs.com/sandy-t/p/4297453.html