文件名称:count
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-01-06
- 文件大小:
- 35kb
- 下载次数:
- 0次
- 提 供 者:
- 刘*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
【问题描述】
输入若干个整数,统计出现次数最多的那个整数。如果出现最多的整数有两个以上,打印最早输入的那个整数。
【输入形式】
从标准输入读取输入。第一行只有一个数字N(1≤N≤10000),代表整数的个数。以后的N行每行有一个整数。
【输出形式】
向标准输出打印出现次数最多的那个数字。
-Descr iption Enter the number of integers, the statistics most frequently that integer. If up to an integer of two or more, the print earliest input integer. 】 【Input form reads input from the standard input. The first line, only a number N (1 ≤ N ≤ 10000), representative of the number of integers. After the N lines each have an integer. 】 【Output form the highest number of digital printing to the standard output.
输入若干个整数,统计出现次数最多的那个整数。如果出现最多的整数有两个以上,打印最早输入的那个整数。
【输入形式】
从标准输入读取输入。第一行只有一个数字N(1≤N≤10000),代表整数的个数。以后的N行每行有一个整数。
【输出形式】
向标准输出打印出现次数最多的那个数字。
-Descr iption Enter the number of integers, the statistics most frequently that integer. If up to an integer of two or more, the print earliest input integer. 】 【Input form reads input from the standard input. The first line, only a number N (1 ≤ N ≤ 10000), representative of the number of integers. After the N lines each have an integer. 】 【Output form the highest number of digital printing to the standard output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
count
.....\Debug
.....\.....\count.obj
.....\.....\count.pch
.....\.....\vc60.idb
.....\.....\vc60.pdb
.....\count.c
.....\count.dsp
.....\count.plg