HDU--1004--Let the Balloon Rise
来源:互联网 发布:淘宝网2016下载安装 编辑:程序博客网 时间:2024/05/01 18:58
#include <stdio.h>#include <string.h>int main (void){ int n,i,j,k,l,s; char a[1000][15]; while(scanf("%d",&n)!=EOF) { l=0; if(!n) break; for(i=0;i<n;i++) scanf("%s",&a[i]); for(i=0;i<n-1;i++) { k=0; for(j=i+1;j<n;j++) { if(0==strcmp(a[i],a[j])) k++; } if(l<k) { l=k;s=i; } } printf("%s\n",a[s]); } return 0;}
- HDU 1004 Let the Balloon Rise
- HDU 1004 Let the Balloon Rise
- hdu 1004 Let the Balloon Rise
- HDU 1004 Let the Balloon Rise
- HDU--1004 Let the Balloon Rise
- hdu 1004 Let the Balloon Rise
- hdu 1004 Let the Balloon Rise
- HDU 1004 Let the Balloon Rise
- hdu 1004 Let the Balloon Rise
- HDU 1004 Let the Balloon Rise
- HDU 1004 Let the Balloon Rise
- Hdu 1004 - Let the Balloon Rise
- HDU 1004 Let the Balloon Rise
- HDU 1004 Let the Balloon Rise
- HDU--1004--Let the Balloon Rise
- hdu 1004 Let the Balloon Rise
- hdu 1004 Let the Balloon Rise
- HDU 1004 Let the Balloon Rise STL
- 建立Maven Android项目
- adb shell 命令详解
- oracle恢复已被commit删除的内容
- 网站权限问题要重视-维护服务器后的看法
- DWR实现模拟Google搜索效果
- HDU--1004--Let the Balloon Rise
- json 格式序列化
- NOR flash和NAND flash的区别
- mystruts简易MVC框架实现
- 一个华为人辞职创业后的几个反思
- 第一个简单的qt程序
- sealed 修饰符是干什么的?
- 《C语言深度解培》读书笔记之三
- HDU--1005--Number Sequence