标签:style io ar color os sp on cti ad
#include <cstdio> #include <cstring> #include <map> #include <algorithm> using namespace std; int main(){ int n,a; while(scanf("%d",&n)==1){ int maxx=-1; map<int ,int >q; while(n--){ scanf("%d",&a); q[a]++; if(q[a]>maxx){ maxx=q[a]; } } printf("%d\n",maxx); } }
标签:style io ar color os sp on cti ad
原文地址:http://blog.csdn.net/u013076044/article/details/41707899