
ACM-POJ
文章平均质量分 86
J_Sure
唯苦修深思方能顿悟
展开
-
POJ-3122 Pie
PieTime Limit: 1000MS Memory Limit: 65536K Special JudgeDescriptionMy birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I ha原创 2014-03-28 19:44:21 · 1020 阅读 · 0 评论 -
AOJ-AHU-OJ-36 (POJ-2033) Alphacode
AlphacodeTime Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBDescriptionAlice and Bob need to send secret messages to each other and are discussing ways to encode the原创 2014-03-30 21:33:14 · 1556 阅读 · 0 评论 -
POJ-1077 Eight
EightTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 23270 Accepted: 10269 Special JudgeDescriptionThe 15-puzzle has been around for over 100 years;原创 2014-04-16 19:16:37 · 1099 阅读 · 0 评论 -
POJ-1050(HDU-1081) To the Max
To the MaxTime Limit: 1000MS Memory Limit: 10000K DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous原创 2014-04-28 22:27:14 · 1048 阅读 · 0 评论 -
POJ-1141 Brackets Sequence(递推)
Brackets SequenceTime Limit: 1000MS Memory Limit: 65536K Special JudgeDescriptionLet us define a regular brackets sequence in the following way: 1. Emp原创 2014-05-02 18:48:43 · 1538 阅读 · 0 评论 -
POJ-3232 Accelerator
AcceleratorTime Limit: 4000MS Memory Limit: 65536K DescriptionShiming (alpc02) is a boy likes to play PopKart very much. He is a good rider in this game. And on原创 2014-03-26 20:37:01 · 1408 阅读 · 1 评论 -
POJ-1163 The Triangle 「数字三角形」(递推)
刚刚使用DFS+记忆化搜索解决了数字三角形原创 2014-04-21 20:43:56 · 1311 阅读 · 0 评论 -
POJ-3104 Drying
DryingTime Limit: 2000MS Memory Limit: 65536K DescriptionIt is very hard to wash and especially to dry clothes in winter. But Jane is a very smart girl. She原创 2014-03-26 19:48:56 · 1050 阅读 · 0 评论 -
AOJ-AHU-OJ-13(POJ-1056) IMMEDIATE DECODABILITY
IMMEDIATE DECODABILITYTime Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBTotal Submission: 248 Submission Accepted: 108DescriptionAn encoding of a set of symbols i原创 2014-04-08 20:40:31 · 1055 阅读 · 0 评论 -
POJ-1182 食物链
食物链Time Limit: 1000MS Memory Limit: 10000K Description动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。 有人用两种说法原创 2014-05-15 21:49:01 · 1107 阅读 · 0 评论 -
HDU-OJ-1176 免费馅饼
免费馅饼Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 24010 Accepted Submission(s): 8103Problem Description都说天上不会掉馅饼,但有一天gamebo原创 2014-05-10 16:49:14 · 1049 阅读 · 0 评论 -
POJ-3283 Card Hands
Card HandsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2246 Accepted: 687DescriptionJim is writing a program for statistically analyzing card games.原创 2014-04-10 22:37:42 · 1478 阅读 · 0 评论 -
POJ-1962 Corporative Network
Corporative NetworkTime Limit: 3000MS Memory Limit: 30000K ed: 1083DescriptionA very big corporation is developing its corporative network. In the beginning each o原创 2014-05-16 18:03:18 · 839 阅读 · 0 评论 -
POJ-1308 Is It A Tree?
Is It A Tree?Time Limit: 1000MS Memory Limit: 10000K DescriptionA tree is a well-known data structure that is either empty (null, void, nothing) or is a set of原创 2014-05-16 21:20:37 · 1104 阅读 · 0 评论 -
POJ-1611 The Suspects
The SuspectsTime Limit: 1000MS Memory Limit: 20000K DescriptionSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recogni原创 2014-05-18 01:29:21 · 968 阅读 · 0 评论 -
POJ-2001 Shortest Prefixes
Shortest PrefixesTime Limit: 1000MS Memory Limit: 30000K DescriptionA prefix of a string is a substring starting at the beginning of the given string. The prefi原创 2014-04-07 09:40:39 · 1092 阅读 · 0 评论 -
POJ-2828 Buy Tickets
Buy TicketsTime Limit: 4000MS Memory Limit: 65536K DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we must get up early原创 2014-04-11 22:07:18 · 1165 阅读 · 0 评论 -
POJ-3349 Snowflake Snow Snowflakes
Snowflake Snow SnowflakesTime Limit: 4000MS Memory Limit: 65536K DescriptionYou may have heard that no two snowflakes are alike. Your task is to write a program原创 2014-05-19 22:56:08 · 1104 阅读 · 0 评论 -
POJ-2492 A Bug's Life
A Bug's LifeTime Limit: 10000MS Memory Limit: 65536K DescriptionBackground Professor Hopper is researching the sexual behavior of a rare species of bugs. He a原创 2014-05-20 11:08:43 · 1273 阅读 · 0 评论 -
POJ-3624 Charm Bracelet
Charm BraceletTime Limit: 1000MS Memory Limit: 65536K DescriptionBessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like t原创 2014-05-20 11:13:10 · 842 阅读 · 0 评论 -
POJ-2560 Freckles
FrecklesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6581 Accepted: 3261DescriptionIn an episode of the Dick Van Dyke show, little Richie connects th原创 2014-05-21 14:49:32 · 1171 阅读 · 0 评论 -
POJ-1163 The Triangle 「数字三角形」(dfs+记忆化)
题目+自上至下DP解法:原创 2014-04-21 20:16:03 · 1945 阅读 · 0 评论 -
ZOJ-1025(POJ-1065、HDU-1051) Wooden Sticks
Wooden SticksTime Limit: 2 Seconds Memory Limit: 65536 KBThere is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a原创 2014-06-03 21:32:56 · 1298 阅读 · 0 评论 -
ZOJ-1360(POJ-1328) Radar Installation
Radar InstallationTime Limit: 2 Seconds Memory Limit: 65536 KBAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a p原创 2014-06-05 17:17:54 · 1179 阅读 · 2 评论 -
POJ-1042(ZOJ-1161) Gone Fishing
Gone FishingTime Limit: 2000MS Memory Limit: 32768K DescriptionJohn is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes i原创 2014-06-08 10:56:36 · 1645 阅读 · 0 评论 -
POJ-1465 Multiple
MultipleTime Limit: 1000MS Memory Limit: 32768K Descriptiona program that, given a natural number N between 0 and 4999 (inclusively), and M distinct decimal digits原创 2014-08-03 18:51:33 · 996 阅读 · 0 评论 -
POJ-2935 Basic Wall Maze
Basic Wall MazeTime Limit: 1000MS Memory Limit: 65536K Special JudgeDescriptionIn this problem you have to solve a very simple maze consisting of: a 6 by原创 2014-08-05 10:20:29 · 761 阅读 · 0 评论 -
POJ-1324 Holedox Moving
Holedox MovingTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 13366 Accepted: 3171DescriptionDuring winter, the most hungry and severe time, Holedox sleep原创 2014-08-04 14:17:42 · 954 阅读 · 0 评论 -
POJ-1915 Knight Moves
Knight MovesTime Limit: 1000MS Memory Limit: 30000K DescriptionBackgroundMr Somurolov, fabulous chess-gamer indeed, asserts that no one else but him can move knig原创 2014-08-04 16:25:38 · 904 阅读 · 0 评论 -
POJ-3252 Round Numbers
Round NumbersTime Limit: 2000MS Memory Limit: 65536K DescriptionThe cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, St原创 2014-08-18 23:11:50 · 867 阅读 · 0 评论 -
POJ-1287 Networking
NetworkingTime Limit: 1000MS Memory Limit: 10000KDescriptionYou are assigned to design network connections between certain points in a wide area. You are given a set of point原创 2014-08-08 15:14:15 · 678 阅读 · 0 评论 -
POJ-2031 Building a Space Station
Building a Space StationTime Limit: 1000MS Memory Limit: 30000KDescriptionYou are a member of the space station engineering team, and are assigned a task in the construction原创 2014-08-08 16:03:34 · 695 阅读 · 0 评论 -
POJ-1861 Network
NetworkTime Limit: 1000MS Memory Limit: 30000K Special JudgeDescriptionAndrew is working as system administrator and is planning to establish a new network in原创 2014-08-08 14:47:36 · 722 阅读 · 0 评论 -
POJ-1251 Jungle Roads
Jungle RoadsTime Limit: 1000MS Memory Limit: 10000KDescriptionThe Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent o原创 2014-08-08 15:04:05 · 892 阅读 · 0 评论 -
POJ-1703 Find them, Catch them
Find them, Catch themTime Limit: 1000MS Memory Limit: 10000KDescriptionThe police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO g原创 2014-08-09 10:09:16 · 769 阅读 · 0 评论 -
POJ-2421 Constructing Roads
Constructing RoadsTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 19413 Accepted: 8091DescriptionThere are N villages, which are numbered from 1 to N, and原创 2014-08-08 19:50:39 · 929 阅读 · 0 评论 -
POJ-1789 Truck History
Truck HistoryTime Limit: 2000MS Memory Limit: 65536KDescriptionAdvanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, othe原创 2014-08-09 13:04:58 · 779 阅读 · 0 评论 -
POJ-1258 Agri-Net
Agri-NetTime Limit: 1000MS Memory Limit: 10000KDescriptionFarmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to a原创 2014-08-09 16:47:54 · 982 阅读 · 0 评论 -
POJ-1679 The Unique MST
The Unique MSTTime Limit: 1000MS Memory Limit: 10000KDescriptionGiven a connected undirected graph, tell if its minimum spanning tree is unique.Definition 1 (Spanning Tre原创 2014-08-10 22:42:04 · 1014 阅读 · 1 评论 -
POJ-2349 Arctic Network
Arctic NetworkTime Limit: 2000MS Memory Limit: 65536KDescriptionThe Department of National Defence (DND) wishes to connect several northern outposts by a wireless network. Tw原创 2014-08-09 15:18:13 · 865 阅读 · 0 评论