3145: vector-输出最大值及其出现次数
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:6
Solved:6
Description
输入 n 个数,找出最大值,并输出最大值和它出现的次数。
Input
第一行:n
第二行:n 个整数
第二行:n 个整数
Output
最大值 出现次数
Sample Input Copy
6
2 5 3 5 1 5
Sample Output Copy
5 3