
数据结构
文章平均质量分 78
傲慢的么么forever
待到学有所成时,我会找到人生的意义。
展开
-
NYOJ 题目2 括号配对问题
括号配对问题时间限制:3000 ms | 内存限制:65535 KB难度:3描述现在,有一行括号序列,请你检查这行括号是否配对。输入第一行输入一个数N(0输出每组输入数据的输出占一行,如果该字符串中所含的括号是配对的,则输出Yes,如果不配对则输出No样例输入3[(])(])([[]()])样例输出NoNoYes原创 2014-07-09 20:05:02 · 3736 阅读 · 4 评论 -
POJ 2236 Wireless Network
Wireless NetworkTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 18917 Accepted: 7957DescriptionAn earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team)原创 2015-07-26 11:25:42 · 398 阅读 · 0 评论 -
poj 1862 Stripies
StripiesTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 13278 Accepted: 6255DescriptionOur chemical biologists have invented a new very useful form of life called stripies (in fact原创 2015-06-14 19:03:59 · 411 阅读 · 0 评论 -
POJ 2431 Expedition
ExpeditionTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8791 Accepted: 2575DescriptionA group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being ra原创 2015-07-04 16:34:00 · 434 阅读 · 0 评论 -
POJ 3255 Roadblocks
RoadblocksTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 9479 Accepted: 3369DescriptionBessie has moved to a small farm and sometimes enjoys returning to visit one of her best f原创 2015-07-25 17:01:50 · 444 阅读 · 0 评论 -
POJ 3190 Stall Reservations
Stall ReservationsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3660 Accepted: 1313 Special JudgeDescriptionOh those picky N (1 <= N <= 50,000) cows! They are so picky that each原创 2015-06-10 15:41:37 · 515 阅读 · 0 评论 -
Aoj 0525 Osenbei
pilot系列之最基础的穷竭搜索(初级篇)C题意:药药!切克闹! 煎饼果子来一套!有一个烤饼器可以烤r行c列的煎饼,煎饼可以正面朝上(用1表示)也可以背面朝上(用0表示)。一次可将同一行或同一列的煎饼全部翻转。现在需要把尽可能多的煎饼翻成正面朝上,问最多能使多少煎饼正面朝上?输入:多组输入,每组第一行为二整数r, c (1 ≤ r ≤ 10, 1 ≤ c ≤ 10 000),剩下r行c列表原创 2015-05-22 10:16:50 · 764 阅读 · 0 评论 -
POJ 2531 Network Saboteur
Network SaboteurTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 9706 Accepted: 4633DescriptionA university network is composed of N computers. System administrators gathered inform原创 2015-05-07 17:40:15 · 569 阅读 · 0 评论 -
POJ 1562 Oil Deposits
Oil DepositsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 13709 Accepted: 7473DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil depo原创 2015-05-07 09:46:43 · 484 阅读 · 0 评论 -
POJ 1321 棋盘问题
棋盘问题Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 25790 Accepted: 12756Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放原创 2015-05-06 21:09:58 · 439 阅读 · 0 评论 -
HDU 1387 Team Queue
Team QueueTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1410 Accepted Submission(s): 475Problem DescriptionQueues and Priority Queu原创 2015-05-03 11:43:44 · 394 阅读 · 0 评论 -
POJ 1208 The Blocks Problem
The Blocks ProblemTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 4914 Accepted: 2090DescriptionMany areas of Computer Science use simple, abstract domains for both analytical and原创 2015-05-03 12:15:05 · 430 阅读 · 0 评论 -
POJ 3121 The SetStack Computer
The SetStack ComputerTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 995 Accepted: 206DescriptionBackground from Wikipedia: "Set theory is a branch of mathematics created principal原创 2015-05-03 12:09:52 · 618 阅读 · 0 评论 -
hdu1022 Train Problem I
Train Problem ITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 21854 Accepted Submission(s): 8269Problem DescriptionAs the ne原创 2014-11-22 14:54:44 · 405 阅读 · 0 评论 -
POJ 3253 Fence Repair
Fence RepairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 30498 Accepted: 9869DescriptionFarmer John wants to repair a small length of the fence around the pasture. He measures原创 2015-07-04 17:10:49 · 349 阅读 · 0 评论