上一页 1 2 3 4 5 6 7 8 ··· 15 下一页

2012年3月21日

hdu 3401 Trade

摘要: TradeTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1731Accepted Submission(s): 535Problem DescriptionRecently, lxhgww is addicted to stock, he finds some regular patterns after a few days' study.He forecasts the next T days' stock market. 阅读全文

posted @ 2012-03-21 16:33 Goal 阅读(228) 评论(0) 推荐(0) 编辑

2011年12月30日

世界总决赛的晋级名单

摘要: 2011 Asia Teams advanced to 2012 World Finals in Warsaw2011-12-29 22:11Asia Teams Qualified for 2012 World Finals and the Calculation (37 universities).(This list is waiting for the approval from ACM-ICPC Executive Director Dr. Bill Poucher. ICPC Headquarter is in Christmas Shutdown now. 12/27/2011 阅读全文

posted @ 2011-12-30 14:53 Goal 阅读(349) 评论(0) 推荐(0) 编辑

2011年12月29日

海军演习(dp+博弈)

摘要: 海军演习TimeLimit: 5 Second MemoryLimit: 32 MegabyteTotalsubmit: 2 Accepted: 1 Description哪怕在和平的年代,许多国家也会举行演习来保持军队的警惕性。某个国家也发动了一次虚拟的海军战役。 在演习阶段,海军上将打算评估两个战舰的战斗力,“胜利号”和“荣誉号”,所以他让两个战舰进行打击练习。两艘战舰的指挥官都是年轻有前途的青年,都以出色的成绩毕业于海军学院。他们不仅有丰富的导航经验,也掌握了很深的科学知识,特别是数学方面的。 这位海军上将指定了一个 有许多星罗棋布的小岛的区域。假设这些小岛都被敌方占领,而且敌方的... 阅读全文

posted @ 2011-12-29 11:24 Goal 阅读(231) 评论(0) 推荐(0) 编辑

2011年12月28日

hdu 2486 A simple stone game

摘要: A simple stone gameTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 111Accepted Submission(s): 44Problem DescriptionAfter he has learned how to play Nim game, Mike begins to try another stone game which seems much easier.The game goes like this: Two 阅读全文

posted @ 2011-12-28 20:45 Goal 阅读(450) 评论(0) 推荐(0) 编辑

hdu 2485 Destroying the bus stations

摘要: Destroying the bus stationsTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1130Accepted Submission(s): 333Problem DescriptionGabiluso is one of the greatest spies in his country. Now he’s trying to complete an “impossible” mission ----- to make it 阅读全文

posted @ 2011-12-28 20:02 Goal 阅读(421) 评论(0) 推荐(0) 编辑

2011年12月20日

"time.h"的那些事儿

摘要: 本文从介绍基础概念入手,探讨了在C/C++中对日期和时间操作所用到的数据结构和函数,并对计时、时间的获取、时间的计算和显示格式等方面进行了阐述。本文还通过大量的实例向你展示了time.h头文件中声明的各种函数和数据结构的详细使用方法。关键字:UTC(世界标准时间),Calendar Time(日历时间),epoch(时间点),clock tick(时钟计时单元)1.概念 在C/C++中,对字符串的操作有很多值得注意的问题,同样,C/C++对时间的操作也有许多值得大家注意的地方。最近,在技 术群中有很多网友也多次问到过C++语言中对时间的操作、获取和显示等等的问题。下面,在这篇文章中,笔者将主. 阅读全文

posted @ 2011-12-20 09:33 Goal 阅读(216) 评论(0) 推荐(0) 编辑

2011年12月18日

A Simple Problem

摘要: A Simple ProblemTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 55Accepted Submission(s): 19Problem DescriptionFor a given positive integer n, please find the smallest positive integer x that we can find an integer y such that y^2 = n +x^2.InputThe 阅读全文

posted @ 2011-12-18 18:01 Goal 阅读(416) 评论(0) 推荐(0) 编辑

杭电菜鸟杯

摘要: 本次比赛共收到13所高校提供的18道题目,除了比赛使用的10道题目以外,还有8道题目因为题目太难、太陈或者描述不清等原因没有使用,无论如何非常感谢大家的支持(提供题目的学校名单如下:北邮,北交大,北师大,福州大学,哈工大,西南交大,浙江传媒,南华大学,华南理工,天大,华东师大,武汉大学以及杭电)。言归正传——以下是命题方提供的简要解题报告,期待能对你有所帮助:1001. A sample problem(数学):y^2=n+x^2化为(y-x)*(y+x)=n,把n分解因子,就可以搞定。1002. Bacon’s cipher(简单):判断每一位是不是数字,如果是数字则为1,否则为0,五位确定 阅读全文

posted @ 2011-12-18 18:00 Goal 阅读(249) 评论(0) 推荐(0) 编辑

2011年12月17日

cf-History

摘要: C. Historytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus likes studying at school a lot and he is always diligent about his homework. Polycarpus has never had any problems with natural sciences as his great-great-grandfather was the g 阅读全文

posted @ 2011-12-17 16:09 Goal 阅读(349) 评论(0) 推荐(0) 编辑

2011年12月16日

未解决的题目

摘要: 给出一个 n * n 的二维数组,其元素为非负整数,且不大于100。从中取 n 个元素,使之其和最大,其中,任意两个元素不同行,也不同列。 例如: 2 3 1 3 2 0 2 1 2 最大和为 3+3+2=8,三个元素分别位于第0行1列,1行0列,2行2列 关于输入第一行为 n(n<=20) 之后共 n 行,每行 n 个元素,其间空格间隔关于输出最大元素和 阅读全文

posted @ 2011-12-16 18:31 Goal 阅读(152) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 15 下一页

导航