#include<bits/stdc++.h>using namespace std;int main(){int a[1001],n,m,k=0;scanf("%d",&n);for(int i=1;i<=n;++i)scanf("%d",&a[i]);scanf("%d",&m);for(int i=1;i<=n;i++)if(a[i]==m)++k;printf("%d",k);return 0;}
慕尼黑8549860
相关分类