hdu 5123 who is the best?
来源:互联网 发布:linux gdb调试入门 编辑:程序博客网 时间:2024/06/05 04:52
hdu 5123 who is the best?
#include<stdio.h>#include<string.h>int main(){ int t,n,a[105],i,j,max,b; while(~scanf("%d",&t)) while(t--) { memset(a,0,sizeof(a)); scanf("%d",&n); max=0; for(i=1;i<=n;i++) { scanf("%d",&b); a[b]++; } for(i=1;i<=n;i++) if(a[i]>max) {max=a[i];j=i;} printf("%d\n",j); } return 0;}
0 0
- hdu 5123 who is the best?
- hdu 5123 who is the best?
- HDU—— 5123 who is the best?
- hdu 5123 who is the best?(Bestcoder Round #20)
- BC who is the best?(HDU 5123)
- HDU 5123 who is the best? hash统计
- hdu 5123 who is the best?(水)
- hdu 5123 who is the best?(数组处理)
- 杭电5123 who is the best?
- HDU5123 who is the best?
- 【CUGBACM15级BC第20场 A】hdu 5123 who is the best?
- H电-Problem Archive-5123-who is the best?
- Who do you think is the best coder and why?
- Who do you think is the best coder, and why?”
- Who do you think is the best coder, and why?
- zz"Who do you think is the best coder, and why?"zz
- who is the real hero!
- Who is the Smartest Man
- 大数据系列教程_hbase集群安装
- FPGA的速度等级(speed grade)
- 怎么判断两个工程师谁的代码能力强
- 给Rails加上https支持
- 大数据系列教程_hive安装
- hdu 5123 who is the best?
- 轻松学习Asp.net中的控件
- 实现对话框最大化时控件也随比例最大化或者还原
- Maven外部依赖
- 怎样在spring官网下载api
- IT职场求生法则
- 使用 patchrom 移植 MIUI
- fiddler模拟限速
- C语言中结构体的简单使用