- 博客(29)
- 收藏
- 关注
转载 在线JQ库
使用 Google 的 CDN<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script><script type="text/jacascript" src="http://ajax.goo...
2015-07-16 13:25:00 205
转载 趣写算法系列之--匈牙利算法
匈牙利算法是由匈牙利数学家Edmonds于1965年提出,因而得名。匈牙利算法是基于Hall定理中充分性证明的思想,它是部图匹配最常见的算法,该算法的核心就是寻找增广路径,它是一种用增广路径求二分图最大匹配的算法。-------等等,看得头大?那么请看下面的版本:通过数代人的努力,你终于赶上了剩男剩女的大潮,假设你是一位光荣的新世纪媒人,在你的手上有N个剩男,M个剩女,每个...
2015-02-02 15:48:00 86
转载 2015年NEUACM一月月赛 J
问题 J: Eliminate zero AC时间限制:1 Sec内存限制:128 MB提交:332解决:131[提交][状态][讨论版]题目描述Lastnight,KidsubmittedaproblemformanytimesbuthegotmanyWA,soheissad.Outofsympathy,hisc...
2015-01-31 18:25:00 122
转载 2015年NEUACM一月月赛 C
问题 C: Sum?Sum!时间限制:1 Sec内存限制:128 MB提交:653解决:176[提交][状态][讨论版]题目描述Kidwanttolearnmathbetter.NowKidknowhowtocalculatethesumof1toninashorttime.Butthistime,heis...
2015-01-31 18:22:00 90
转载 2015年NEUACM一月月赛 B
问题 B: a Simple Problem时间限制:1 Sec内存限制:128 MB提交:412解决:99[提交][状态][讨论版]题目描述Manypeoplethinkhhisadiaosi,buthhisaveryrichmanwhosenicknameiswenzhoutuhao,andhemadeal...
2015-01-31 18:17:00 85
转载 CDZSC_2015寒假新人(2)——数学 E
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description A number sequence is defined as follows: f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + ...
2015-01-29 13:56:00 95
转载 CDZSC_2015寒假新人(4)——搜索 I
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uDescriptionThe ministers of the cabinet were quite upset by the message from the Chief of Security stating ...
2015-01-29 13:43:00 180
转载 CDZSC_2015寒假新人(4)——搜索 H
Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionHiking in the mountains is seldom an easy task for most people, as it is extremely easy to get...
2015-01-28 16:27:00 71
转载 CDZSC_2015寒假新人(4)——搜索 L
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description A message from humans to extraterrestrial intelligence was sent through the Arecibo radio...
2015-01-28 01:21:00 97
转载 CDZSC_2015寒假新人(4)——搜索 N
Time Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uDescriptionStandard web browsers contain features to move backward and forward among the pages recent...
2015-01-27 21:05:00 86
转载 CDZSC_2015寒假新人(4)——搜索 G
Time Limit:2000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionIgnatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ign...
2015-01-27 20:58:00 107
转载 CDZSC_2015寒假新人(4)——搜索 C
Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionThere is a strange lift.The lift can stop can at every floor as you want, and there is a n...
2015-01-27 20:56:00 83
转载 CDZSC_2015寒假新人(4)——搜索 B
DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjac...
2015-01-27 20:52:00 79
转载 CDZSC_2015寒假新人(4)——搜索 F
Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionIgnatius had a nightmare last night. He found himself in a labyrinth with a time bomb on h...
2015-01-27 20:46:00 90
转载 CDZSC_2015寒假新人(4)——搜索 A
Time Limit:2000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uDescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her i...
2015-01-26 21:19:00 217
转载 第一次组队赛---2010年全国大学生程序设计邀请赛(福州)L
L -Left Mouse ButtonTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeFZU 1920DescriptionMine sweeper is a very popular sma...
2015-01-25 21:54:00 106
转载 ZSC新生赛 沼跃鱼早已看穿了一切
Description沼跃鱼打开密码门后发现门后是一个像迷宫一样的房间,墙上的指示牌写着:房间内某处有一宝箱,但是宝箱被上锁了,钥匙在这个房间的某个角落。沼泽鱼对宝箱里有什么很感兴趣,但它必须先去拿到钥匙才可以打开宝箱。然而沼跃鱼早已看穿了一切,它看清了这个房间的布局,现在给出房间的布局图,问沼跃鱼拿到钥匙并打开宝箱最少需要走多少步。沼跃鱼每次只能向上、下、左、右中其中一个方向...
2015-01-23 22:23:00 80
转载 ZSC新生赛 聪明的员工
聪明的员工Time Limit:1 SecMemory Limit:128 MBSubmit:481Solved:219[Submit][Status][Web Board]Description小新是一家公司的员工,每个员工都有一个编号。每天上班时,老板都让员工排成一个队伍。但是,每次老板都对队伍的顺序不满意,于是老板重新编排新的队伍顺序,然后让员工...
2015-01-23 17:02:00 86
转载 CDZSC_2015寒假新人(1)——基础 I
Description“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many points can you get? Now, I told you the...
2015-01-23 15:52:00 107
转载 CDZSC_2015寒假新人(1)——基础 H
Description Ignatius was born in a leap year, so he want to know when he could hold his birthday party. Can you tell him? Given a positive integers Y which indicate the start year, a...
2015-01-23 12:05:00 100
转载 CDZSC_2015寒假新人(1)——基础 G
DescriptionIgnatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should reverse all the words and then output them. ...
2015-01-23 12:03:00 105
转载 CDZSC_2015寒假新人(1)——基础 F
DescriptionAn inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inches every minute, but then has to rest a minute before climbing again. During the rest, ...
2015-01-23 12:02:00 75
转载 CDZSC_2015寒假新人(1)——基础 E
Description Julius Caesar lived in a time of danger and intrigue. The hardest situation Caesar ever faced was keeping himself alive. In order for him to survive, he decided to create one of...
2015-01-23 12:01:00 138
转载 CDZSC_2015寒假新人(1)——基础 D
DescriptionThese days, I am thinking about a question, how can I get a problem as easy as A+B? It is fairly difficulty to do such a thing. Of course, I got it after many waking nights....
2015-01-23 11:56:00 85
转载 CDZSC_2015寒假新人(1)——基础 C
DescriptionFatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean. The warehouse has N rooms. The i-th roo...
2015-01-23 11:55:00 98
转载 CDZSC_2015寒假新人(1)——基础 B
Description The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specifie...
2015-01-23 11:53:00 96
转载 CDZSC_2015寒假新人(1)——基础 A
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...
2015-01-23 11:51:00 106
转载 FZU 1063 三维扫描
Description 工业和医学上经常要用到一种诊断技术——核磁共振成像(Magnetic Resonance Imagers)。利用该技术可以对三维物体(例如大脑)进行扫描。扫描的结果用一个三维的数组来保存,数组的每一个元素表示空间的一个象素。数组的元素是0-255的整数,表示该象素的灰度。例如0表示该象素是黑色的,255表示该象素是白色的。 被...
2015-01-09 17:09:00 62
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人