上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 41 下一页

HDU 1754 I Hate It

摘要: I Hate ItTime Limit: 9000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 15716Accepted Submission(s): 6099Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。Input本题目包含多组测试,请处理到文件结束。在每个 阅读全文
posted @ 2012-07-17 15:16 江财小子 阅读(100) 评论(0) 推荐(0) 编辑

HDU 1166 敌兵布阵

摘要: 敌兵布阵Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15926Accepted Submission(s): 6983Problem DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营地的人数 阅读全文
posted @ 2012-07-17 14:41 江财小子 阅读(192) 评论(0) 推荐(0) 编辑

POJ 2761 Feed the dogs

摘要: Feed the dogsTime Limit: 6000MSMemory Limit: 65536KTotal Submissions: 11808Accepted: 3409DescriptionWind loves pretty dogs very much, and she has n pet dogs. So Jiajia has to feed the dogs every day for Wind. Jiajia loves Wind, but not the dogs, so Jiajia use a special way to feed the dogs. At lunch 阅读全文
posted @ 2012-07-17 13:28 江财小子 阅读(335) 评论(0) 推荐(0) 编辑

POJ 3481 Double Queue

摘要: Double QueueTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 6090Accepted: 2866DescriptionThe new founded Balkan Investment Group Bank (BIG-Bank) opened a new office in Bucharest, equipped with a modern computing environment provided by IBM Romania, and using modern information technologies. 阅读全文
posted @ 2012-07-16 18:26 江财小子 阅读(286) 评论(0) 推荐(0) 编辑

HDU 1869 六度分离(floyd)

摘要: 六度分离Time Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1360Accepted Submission(s): 528Problem Description1967年,美国著名的社会学家斯坦利·米尔格兰姆提出了一个名为“小世界现象(small world phenomenon)”的著名假说,大意是说,任何2个素不相识的人中间最多只隔着6个人,即只用6个人就可以将他们联系在一起,因此他的理论也被称为“六度分离”理论(six degree 阅读全文
posted @ 2012-07-16 13:30 江财小子 阅读(221) 评论(0) 推荐(0) 编辑

HDU 3790 最短路径问题(经典呀)

摘要: 最短路径问题Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4184Accepted Submission(s): 1249Problem Description给你n个点,m条无向边,每条边都有长度d和花费p,给你起点s终点t,要求输出起点到终点的最短距离及其花费,如果最短距离有多条路线,则输出花费最少的。Input输入n,m,点的编号是1~n,然后是m行,每行4个数 a,b,d,p,表示a和b之间有一条边,且其长度为d,花费为p。最后一行是 阅读全文
posted @ 2012-07-16 11:26 江财小子 阅读(149) 评论(0) 推荐(0) 编辑

UVA 820 Internet Bandwidth

摘要: Internet BandwidthOn the Internet, machines (nodes) are richly interconnected, and many paths may exist between a given pair of nodes. The total message-carrying capacity (bandwidth) between two given nodes is the maximal amount of data per unit time that can be transmitted from one node to the oth. 阅读全文
posted @ 2012-07-16 10:29 江财小子 阅读(614) 评论(0) 推荐(0) 编辑

HDU 3371 Connect the Cities

摘要: Connect the CitiesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4014Accepted Submission(s): 1193Problem Description In 2100, since the sea level rise, most of the cities disappear. Though some survived cities are still connected with others, but. 阅读全文
posted @ 2012-07-16 10:11 江财小子 阅读(412) 评论(0) 推荐(0) 编辑

HDU 3549 Flow Problem

摘要: Flow ProblemTime Limit: 5000/5000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2857Accepted Submission(s): 1348Problem DescriptionNetwork flow is a well-known difficult problem for ACMers. Given a graph, your task is to find out the maximum flow for the weighted dire 阅读全文
posted @ 2012-07-15 22:01 江财小子 阅读(185) 评论(0) 推荐(0) 编辑

HDU 2112(dijk)HDU Today

摘要: HDU TodayTime Limit: 15000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5703Accepted Submission(s): 1384Problem Description经过锦囊相助,海东集团终于度过了危机,从此,HDU的发展就一直顺风顺水,到了2050年,集团已经相当规模了,据说进入了钱江肉丝经济开发区500强。这时候,XHD夫妇也退居了二线,并在风景秀美的诸暨市浬浦镇陶姚村买了个房子,开始安度晚年了。这样住了一段时间,徐总对当地的交通还是不 阅读全文
posted @ 2012-07-15 18:15 江财小子 阅读(197) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 41 下一页