E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
HDU1004
HDU1004
Let the Balloon Rise
LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):64351AcceptedSubmission(s):23771ProblemDescriptionContesttimeagain!Howexciteditistoseeballoon
在风雨中奔跑
·
2020-09-11 06:00
ACM题目解答
hdu1004
Let the Balloon Rise
LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):124843AcceptedSubmission(s):49281ProblemDescriptionContesttimeagain!Howexciteditistoseeballoo
青沐沐
·
2020-09-11 06:22
STL
hdu1004
let the balloon rise map映射
LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):139579AcceptedSubmission(s):55180ProblemDescriptionContesttimeagain!Howexciteditistoseeballoo
popcjz
·
2020-09-11 00:01
STL
hdu1004
Let the Balloon Rise
水题题意:统计字符串个数,输出个数最多的字符串#include#include#includeusingnamespacestd;intmain(){freopen("in.txt","r",stdin);intN,key;charcolor[1111][55];while(cin>>N&&N){intmax=-99999;memset(color,0,sizeof(color));for(int
VNOpU2015
·
2020-09-10 22:41
水题
hdu
水题
ELFhash字符串散列函数——
HDU1004
ProblemDescriptionContesttimeagain!Howexciteditistoseeballoonsfloatingaround.Buttotellyouasecret,thejudges'favoritetimeisguessingthemostpopularproblem.Whenthecontestisover,theywillcounttheballoonsofea
iteye_2449
·
2020-08-24 22:22
水过杭电OJ
hdu1004
Java代码importjava.util.*;publicclassMain{publicstaticvoidmain(String[]args){Stringcolor;Scannerscanner=newScanner(System.in);HashMapcolorsMap=newHashMap0){N--;color=scanner.nextLine();if(colorsMap.cont
ZPengX
·
2020-08-15 13:37
Java
算法
杭电
OJ
算法
ACM
Aglorithm
HDU1004
LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):120896AcceptedSubmission(s):47475ProblemDescriptionContesttimeagain!Howexciteditistoseeballoo
天行健____地势坤
·
2020-08-13 21:00
2017.6
第一周--学习
HDU
hdu 1004 (Let the balloon rise) c、c++
hdu1004
(Lettheballoonrise)题目:http://acm.hdu.edu.cn/showproblem.php?
even_zhan
·
2020-08-01 05:23
hdu
[
HDU1004
] Let the balloon rise - 让气球升起来
ProblemDescriptionContesttimeagain!Howexciteditistoseeballoonsfloatingaround.Buttotellyouasecret,thejudges'favoritetimeisguessingthemostpopularproblem.Whenthecontestisover,theywillcounttheballoonsofea
dengshouzi7943
·
2020-07-31 17:22
hdu1004
(map的使用)
第一次使用map借鉴了大佬的代码LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):127533AcceptedSubmission(s):50374ProblemDescriptionContesttimeagain!Howexcite
wastill
·
2020-07-28 15:35
ACM比赛
HDU1004
ProblemDescriptionContesttimeagain!Howexciteditistoseeballoonsfloatingaround.Buttotellyouasecret,thejudges'favoritetimeisguessingthemostpopularproblem.Whenthecontestisover,theywillcounttheballoonsofea
落水湮花
·
2020-07-28 14:13
map使用及例题
hdu1004
:[cpp]viewplaincopy#include#include#includeusingnamespa
小虎仔的csdn
·
2020-07-27 18:40
算法
HDU1004
查气球
LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):102132AcceptedSubmission(s):39192ProblemDescriptionContesttimeagain!Howexciteditistoseeballoo
Ritchie丶
·
2020-06-25 06:30
暴力模拟思维水题规律
HDU1004
importjava.util.HashMap;importjava.util.Map;importjava.util.Scanner;/***Createdbymacon2018/12/1.*/publicclassMain{publicstaticvoidmain(String[]args){Scannerinput=newScanner(System.in);intN=input.nextI
眼镜猫头鹰
·
2018-12-09 21:11
【
hdu1004
】献上水题一道
这里写代码片
hdu1004
:对于刚入门ACM的新手来说,或者说就算是仅仅会编程语言的人来说,都是一道很简单的题目,虽然很简单,也算我入了门了;题目很简单,即:输入一个n,然后输入n行颜色(n=0时,结束程序
蘑菇味桃子的个人主页
·
2016-07-31 21:31
【成长历程】大神勿喷
HDU1004
Let the Balloon Rise 数据结构
LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):98751 AcceptedSubmission(s):37811ProblemDescriptionContesttimeagain!Howexciteditistose
HandsomeHow
·
2016-01-31 19:00
数据结构
HDU1004
#include #include #include #include usingnamespacestd; intmain() { intt; while(cin>>t) { if(t==0)break; stringcolor[1001]; for(inti=0;i>color[i]; } sort(color,color+t); intcnt=1,max=0; strings=color
classmonster
·
2016-01-28 18:00
HDU1004
之总是wa的细节问题
1 #include <stdio.h> 2 #include <string.h> 3 int main() 4 { 5 6 char color[1000][16]; 7 int n, i, k, j, max, max_i; 8 while( scanf("%d", &
·
2015-11-12 18:57
HDU
hdu 4248排列问题
/* *
hdu1004
/win.cpp * Created on: 2012-7-24 * Author : ben */ #include &l
·
2015-11-11 15:00
HDU
HDU1004
题目链接 :http://acm.hdu.edu.cn/showproblem.php?pid=1004 Let the Balloon Rise Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submiss
·
2015-11-11 02:36
HDU
hdu1004
Let the Balloon Rise
http://acm.hdu.edu.cn/showproblem.php?pid=1004 本题的主要让我们做的就是在输入的几种颜色中输出颜色最多的那种颜色。 c++代码: #include <iostream>#include <string>using namespace std;struct{ string
·
2015-11-11 01:41
HDU
HDU1004
相信很多人都做过这题目,你可以完全当做这是一条水题,但是最近在搞TRIE,就用TRIE来做。 首先,用map一次水掉了,不解释,当然也可以自己写一个map,如编程珠玑统计圣经单词那样做,一摸一样。 #include<iostream> #include<map> #include<cstring> #include<string> #incl
·
2015-11-09 12:29
HDU
iterator排序STL ---Map
hdu1004
,1075,1263
新手发帖,很多方面都是刚入门,有错误的地方请大家见谅,欢迎批评指正 map 的应用 注意first 为key值 second 是value值 然后就是在杭电上头文件对于map的map<string,int >::iterator i;的操纵。应用#include&
·
2015-11-07 14:27
iterator
HDU1004
(C++map的用法)
LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):93577 AcceptedSubmission(s):35739ProblemDescriptionContesttimeagain!Howexciteditistose
longshanxiaoxuesheng
·
2015-10-31 13:00
HDU1004
Let the Balloon Rise
题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=1004 #include <iostream>#include <map>#include <string>using namespace std; int main(int argc, char *argv[]){ int
·
2015-10-23 09:38
HDU
hdu1004
Let the Balloon Rise(二维字符串数组排序)
LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):88886 AcceptedSubmission(s):33639ProblemDescriptionContesttimeagain!Howexciteditistose
su20145104009
·
2015-07-21 21:00
HDU
1004
HDU1004
hdu1004
Let the Balloon Rise
ProblemDescriptionContesttimeagain!Howexciteditistoseeballoonsfloatingaround.Buttotellyouasecret,thejudges'favoritetimeisguessingthemostpopularproblem.Whenthecontestisover,theywillcounttheballoonsofea
Kirito_Acmer
·
2015-05-07 13:00
map
hdu1004
Let the Balloon Rise
TimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):76824 AcceptedSubmission(s):28856ProblemDescriptionContesttimeagain!Howexciteditistoseeballoonsfloating
u012965373
·
2014-11-08 22:00
【
HDU1004
】统计气球数
题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=1004一、题目要求输入:给定一个数字和一组颜色数据,数字是这组颜色数据的数量。当输入的数字为0时结束。输出:对于每一组给定的颜色数据,统计其中出现频率最高的颜色。二、实现思路用链表统计颜色数,每发现一个新颜色都插入一个新结点。接收完所有数据后,遍历链表可以找出统计数量最多的颜色,该颜色即为所求。三、程序
北风其凉
·
2014-08-09 10:00
HDU1004
HDU1004
Let the Balloon Rise tire树
题目大意:找出若干字符串中出现频率最高的字符串并输出。分析:Tire树的应用,不过本题数据量比较小,纯暴力也能A。Tire树实现代码如下:#include #include #include usingnamespacestd; #defineson_num30//字符串中包含的字符个数 #definemaxn15//单词的最大长度 structtire { intnum;//纪录到达该节点的字符
AC_Gibson
·
2014-08-07 10:00
HDU1004
超级楼梯
FontSize:←→ProblemDescription有一楼梯共M级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第M级,共有多少种走法?Input输入数据首先包含一个整数N,表示测试实例的个数,然后是N行数据,每行包含一个整数M(1#includeusingnamespacestd;intmain(){ intn; intfun(intn); scanf("%d",&n)
u013742084
·
2014-03-25 20:00
HDU1004
——Let the Balloon Rise
Problem Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular problem. When the contest
·
2013-08-14 19:00
HDU
ACM-水题之 let the balloon rise——
hdu1004
LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):65180 AcceptedSubmission(s):24152ProblemDescriptionContesttimeagain!Howexciteditistose
lx417147512
·
2013-07-30 09:00
hdu1004
――Let the Balloon Rise
原题:ProblemDescriptionContesttimeagain!Howexciteditistoseeballoonsfloatingaround.Buttotellyouasecret,thejudges'favoritetimeisguessingthemostpopularproblem.Whenthecontestisover,theywillcounttheballoons
bingsanchun
·
2013-03-31 22:00
java
开发技术
hdu1004
LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):33754AcceptedSubmission(s):11367ProblemDescriptionContesttimeagain!Howexciteditistoseeballoon
fangzhiyang
·
2011-11-15 20:04
hdu
hdu1004
LettheBalloonRiseTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):33754 AcceptedSubmission(s):11367ProblemDescriptionContesttimeagain!Howexciteditistose
fangzhiyang
·
2011-11-15 20:00
struct
String
input
UP
each
iostream
Hdu 1004
//Problem:
hdu1004
//Data:2011/10/30 #include usingnamespacestd; //颜色结构,num用来计算每种颜色出现的次数 structColor
gneveek
·
2011-10-30 12:00
struct
input
Treap
// Treap // Tested: bjtu1057,
hdu1004
, pku1002 typedef int KEY; typedef int VALUE; struct node_t
digiter
·
2010-09-18 22:00
C++
c
C#
hdu 1004
hdu1004
开始时这道题目想了挺久的,也走了一点弯路,其实主要是C语言的二维字符数组没理解好,都是一些基础知识没有掌握,注意打红色的部分就好了 1#include 2#include 3#include
雪黛依梦
·
2010-08-24 16:00
ELFhash字符串散列函数——
HDU1004
ProblemDescriptionContesttimeagain!Howexciteditistoseeballoonsfloatingaround.Buttotellyouasecret,thejudges'favoritetimeisguessingthemostpopularproblem.Whenthecontestisover,theywillcounttheballoonsofea
jasonblog
·
2010-04-19 20:00
ELFhash字符串散列函数——
HDU1004
Problem Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular problem. When the contest
baiseda
·
2010-04-19 20:00
hash
ELFhash字符串散列函数——
HDU1004
Problem Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular problem. When the contest
pleasetojava
·
2010-04-19 20:00
hash
上一页
1
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他