
1.2 ACM/ICPC
无幻
这个作者很懒,什么都没留下…
展开
-
HDU 3336 Count the string (记忆化搜索)
Count the stringTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 745 Accepted Submission(s): 320Problem DescriptionIt is well原创 2010-04-11 21:53:00 · 3972 阅读 · 0 评论 -
FZU 1147 Tiling
TilingTime Limit:1sMemory limit:32MAccepted Submit:197Total Submit:496In how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles? Here is a sample til原创 2009-08-17 10:06:00 · 1916 阅读 · 0 评论 -
FZU 1084 Three powers
Three powersTime Limit:1sMemory limit:32MAccepted Submit:96Total Submit:217Consider the set of all non-negative integer powers of 3. S = { 1, 3, 9, 27, 81, .原创 2009-08-16 21:22:00 · 2225 阅读 · 0 评论 -
HDU 1907 John
JohnTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 258 Accepted Submission(s): 130Problem DescriptionLittle John is playing very fu原创 2009-08-14 18:38:00 · 3404 阅读 · 0 评论 -
HDU 1908 Double Queue
Double QueueTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 116 Accepted Submission(s): 68Problem DescriptionThe new founded Balk原创 2009-08-14 09:04:00 · 1722 阅读 · 0 评论 -
HDU 1913 Computers
ComputersTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 248 Accepted Submission(s): 73Problem DescriptionEverybody is fond of computer原创 2009-08-13 21:19:00 · 1498 阅读 · 0 评论 -
FZU 1205 小鼠迷宫问题
小鼠迷宫问题Time Limit:1sMemory limit:32MAccepted Submit:285Total Submit:876问题描述小鼠a与小鼠b身处一个m×n的迷宫中,如图所示。每一个方格表示迷宫中的一个房间。这m×n个房间中有一些房间是封闭的,不允许任何人进入。在迷宫中任何位置均可沿上,下,左,右4个方原创 2009-08-12 08:57:00 · 2420 阅读 · 0 评论 -
ZOJ 2029 The Intervals
The IntervalsTime Limit: 1 Second Memory Limit: 32768 KB Cantor, the famous mathematician, was working on a problem about intervals.Lets start from a line segment of unit length. Remove原创 2009-08-06 21:27:00 · 1590 阅读 · 0 评论 -
FZU 1096 QS Network
QS NetworkTime Limit:1sMemory limit:32MAccepted Submit:229Total Submit:740In the planet w-503 of galaxy cgb, there is a kind of intelligent creature named QS. QSc原创 2009-08-06 19:35:00 · 1576 阅读 · 0 评论 -
FZU 1046 Tempter of the Bone
Tempter of the BoneTime Limit:1sMemory limit:32MAccepted Submit:305Total Submit:1026The doggie found a bone in an ancient maze, which原创 2009-08-10 09:47:00 · 4564 阅读 · 3 评论 -
FZU 1033 URLs
URLsTime Limit:1sMemory limit:32MAccepted Submit:371Total Submit:1322In the early nineties, the World Wide Web (WWW) was invented. Nowadays, most people think原创 2009-08-05 21:10:00 · 1773 阅读 · 0 评论 -
FZU 1706 括号表达式
括号表达式Time Limit:1sMemory limit:32MAccepted Submit:170Total Submit:585B.括号表达式 仅由括号()组成的表达式称之为括号表达式。如果括号表达式中的括号能够配对,我们称该括号表达式为对称括号表达式。在括号表达式中,去除对称括号表达式,我们称原创 2009-08-05 13:18:00 · 1618 阅读 · 0 评论 -
FZU 1061 矩阵连乘
矩阵连乘Time Limit:1sMemory limit:32MAccepted Submit:260Total Submit:969给定n个矩阵{A1,A2,...,An},考察这n个矩阵的连乘积A1A2...An。由于矩阵乘法满足结合律,故计算矩阵的连乘积可以有许多不同的计算次序,这种计算次序可以用加括号的方式来确定原创 2009-08-02 20:30:00 · 2101 阅读 · 1 评论 -
FZU 1656 How many different numbers
How many different numbersTime Limit:1sMemory limit:32MAccepted Submit:70Total Submit:490 Recently oaiei has encountered a problem. And he needs your help. T原创 2009-08-02 19:07:00 · 1218 阅读 · 0 评论 -
FZU 1019 猫捉老鼠
猫捉老鼠Time Limit:1sMemory limit:32MAccepted Submit:470Total Submit:1487一只猫和一只老鼠在10*10的迷宫中。迷宫中的每个方格可以是空的,或者含有障碍。猫和老鼠可以进入任意一个空的方格中。当他们相遇时,猫和老鼠在同一个方格中。但是,无论猫或老鼠都不能进原创 2009-07-31 16:38:00 · 2144 阅读 · 0 评论 -
FZU 1723 我就不信你能找得到
我就不信你能找得到Time Limit:1sMemory limit:32MAccepted Submit:136Total Submit:727yayamao是只很笨的猫。它只认识偶数,它认为成双成对才是完美的。所以对于yayamao来说偶数是可数的,奇数是不可数的。 另外,yayamao它总是想写乱七八糟的问题,可是原创 2009-08-04 08:10:00 · 1624 阅读 · 0 评论 -
HDU 1875 畅通工程再续
畅通工程再续Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2267 Accepted Submission(s): 630Problem Description相信大家都听说一个“百岛湖”的地方吧,百岛湖的居民生活在不同原创 2009-08-19 15:52:00 · 1738 阅读 · 0 评论 -
HDU 1102 Constructing Roads
Constructing RoadsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1914 Accepted Submission(s): 628Problem DescriptionThere are N villag原创 2009-08-19 16:06:00 · 2602 阅读 · 0 评论 -
HDU 3007 Buried memory
Buried memoryTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 261 Accepted Submission(s): 139Problem DescriptionEach person had do somet原创 2009-08-22 00:00:00 · 3320 阅读 · 6 评论 -
HDU 3342 Legal or Not (有向图的拓扑排序)
Legal or NotTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 700 Accepted Submission(s): 295Problem DescriptionACM-DIY原创 2010-04-09 15:24:00 · 2457 阅读 · 3 评论 -
HDU 2114 Calculate S(n) (立方和的计算)
Calculate S(n)Time Limit: 10000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1897 Accepted Submission(s): 713Problem DescriptionCalculate S原创 2009-12-25 13:01:00 · 2474 阅读 · 0 评论 -
HDU 2074 叠筐 (字符处理)
叠筐Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3272 Accepted Submission(s): 797Problem Description需要的时候,就把一个原创 2009-12-25 13:16:00 · 4851 阅读 · 0 评论 -
HDU 1532 Drainage Ditches (最大网络流)
Drainage DitchesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 896 Accepted Submission(s): 414Problem DescriptionEverytime i原创 2009-11-21 01:15:00 · 4254 阅读 · 0 评论 -
HDU 1003 Max Sum
Max SumTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 26441 Accepted Submission(s): 5582Problem DescriptionGivena sequence原创 2009-11-02 11:59:00 · 13341 阅读 · 10 评论 -
HDU 1701 ACMer
ACMerTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1095 Accepted Submission(s): 466Problem DescriptionThere are at原创 2009-11-01 21:59:00 · 3765 阅读 · 1 评论 -
HDU 1915 Arne Saknussemm
Arne SaknussemmTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 216 Accepted Submission(s): 63Problem DescriptionFollowingt原创 2009-11-02 23:33:00 · 1610 阅读 · 0 评论 -
HDU 2068 Coin Change
Coin ChangeTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3196 Accepted Submission(s): 996Problem DescriptionSupposethere原创 2009-11-07 16:50:00 · 2484 阅读 · 0 评论 -
USTC 1122 Millionaire Rank List
Millionaire Rank ListTime Limit: 1000msMemory Limit: 131072kbDescriptionIn the wild universe, there lives a race of clever creature. They have high level civilization and control a lot of planet原创 2009-09-11 13:11:00 · 1837 阅读 · 0 评论 -
USTC 1121 Herbal Medicine on Diaoyu Islands
Herbal Medicine on Diaoyu IslandsTime Limit: 1000msMemory Limit: 65536kbDescriptionDiaoyu Islands were, are and will always be an inalienable part of Chinese territory.In 1372, a Chinese named原创 2009-09-11 10:34:00 · 1539 阅读 · 0 评论 -
USTC 1123 Two Hospitals
Two HospitalsTime Limit: 2000msMemory Limit: 65536kbDescriptionIn the highland, people live in towns. There are roads between pairs of towns, so that all the towns are connected by paths. Becaus原创 2009-09-11 10:22:00 · 1230 阅读 · 0 评论 -
FZU 1012 Relatives
RelativesTime Limit:1sMemory limit:32MAccepted Submit:387Total Submit:1304Given n, a positive integer, how many positive integers less than n are relatively prime原创 2009-09-04 10:10:00 · 3975 阅读 · 3 评论 -
FZU 1840 Lexical translator for Java and C++
Lexical translator for Java and C++Time Limit:1sMemory limit:32MAccepted Submit:11Total Submit:38DescriptionApologists of Java and C++ can argue for hours provi原创 2009-09-02 10:47:00 · 1838 阅读 · 0 评论 -
FZU 1016 无归之室
无归之室Time Limit:1sMemory limit:32MAccepted Submit:376Total Submit:4103金字塔中有一个房间名叫“无归之室”。房间地面完全由相同的矩形瓷砖覆盖。房间里布满无数的机关和陷阱,这正是其名字的由来。考古队花了几年时间研究对策,最后他们想出了一个方案。一原创 2009-08-24 13:47:00 · 2596 阅读 · 2 评论 -
FZU 1015 土地划分
土地划分Time Limit:1sMemory limit:32MAccepted Submit:287Total Submit:655在Dukeswood这块土地上生活着一个富有的农庄主和他的几个孩子。在他临终时,他想把他的土地分给他的孩子。他有许多农场,每个农场都是一块矩形土地。他在农场地图上划上一些直线将矩形分成若干原创 2009-08-24 00:47:00 · 2634 阅读 · 0 评论 -
FZU 1635 Commandos
CommandosTime Limit:1sMemory limit:32MAccepted Submit:42Total Submit:58A group of commandos were assigned a critical task. They are to destroy an enemy head quar原创 2009-08-01 15:11:00 · 1564 阅读 · 0 评论 -
FZU 1783 Strange Clock
Strange ClockTime Limit:1sMemory limit:32MAccepted Submit:44Total Submit:92Problem DescriptionThere is a strange clock, without any number written. Can yo原创 2009-08-03 17:10:00 · 1173 阅读 · 0 评论 -
FZU 1409 文件压缩
文件压缩Time Limit:1sMemory limit:32MAccepted Submit:302Total Submit:1026提高文件的压缩率一直是人们追求的目标。近几年有人提出了这样一种算法,它虽然只是单纯地对文件进行重排,本身并不压缩文件,但是对经这种算法调整后的文件进行压缩,在大多数情况原创 2009-08-03 17:07:00 · 1627 阅读 · 0 评论 -
FZU 1733 Image Distortion
Image DistortionTime Limit:1sMemory limit:32MAccepted Submit:77Total Submit:100 In the process of transmission, data loss may occur, resulting in image disto原创 2009-07-22 20:11:00 · 1177 阅读 · 0 评论 -
FZU 1582 众数问题
众数问题Time Limit:1sMemory limit:32MAccepted Submit:366Total Submit:1515给定含有n个元素的多重集合S,每个元素在S中出现的次数称为该元素的重数。多重集S中重数最大的元素称为众数。例如,S={1,2,2,2,3,5}。多重集S的众数是2,其重数为原创 2009-07-22 14:32:00 · 2102 阅读 · 0 评论 -
FZU 1343 WERTYU
WERTYUTime Limit:1sMemory limit:32MAccepted Submit:257Total Submit:526A common typing error is to place the hands on the keyboard one row to the right of the c原创 2009-07-22 09:19:00 · 1325 阅读 · 0 评论