Description
数字的模式是指在一堆给定数字中出现次数最多的数值,如5,5,5,3,3,2,6,4,它的模式就是5。现在你的任务,就是从数字中找到它的模式.
Sample Input
10 1 2 3 4 5 6 7 8 9 9
Sample Output
9
#include<iostream>
#include<cstring>
using namespace std;
int a[2000001];
int main
数字的模式是指在一堆给定数字中出现次数最多的数值,如5,5,5,3,3,2,6,4,它的模式就是5。现在你的任务,就是从数字中找到它的模式.
10 1 2 3 4 5 6 7 8 9 9
9
#include<iostream>
#include<cstring>
using namespace std;
int a[2000001];
int main