
细节题
文章平均质量分 77
傲慢的么么forever
待到学有所成时,我会找到人生的意义。
展开
-
POJ 1017 Packets
PacketsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 46895 Accepted: 15868DescriptionA factory produces products packed in square packets of the same height h and of the sizes 1*原创 2015-06-14 11:23:21 · 393 阅读 · 0 评论 -
POJ 3616 Milking Time
Milking TimeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5702 Accepted: 2386DescriptionBessie is such a hard-working cow. In fact, she is so focused on maximizing her producti原创 2015-06-20 15:53:31 · 390 阅读 · 0 评论 -
POJ 2229 Sumsets
SumsetsTime Limit: 2000MS Memory Limit: 200000KTotal Submissions: 14323 Accepted: 5699DescriptionFarmer John commanded his cows to search for different sets of numbers that sum to a given nu原创 2015-06-20 13:42:12 · 453 阅读 · 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 1045 Fire Net
Fire NetTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7281 Accepted Submission(s): 4150Problem DescriptionSuppose that we have a sq原创 2015-05-06 15:23:27 · 410 阅读 · 0 评论 -
POJ 1111 Image Perimeters
Image PerimetersTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 8178 Accepted: 4903DescriptionTechnicians in a pathology lab analyze digitized images of slides. Objects on a slide原创 2015-05-05 21:02:30 · 353 阅读 · 0 评论 -
POJ 1323 Game Prediction
Game PredictionTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 9870 Accepted: 4733DescriptionSuppose there are M people, including you, playing a special card game. At the beginnin原创 2015-05-01 17:52:54 · 400 阅读 · 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 3069 Saruman's Army
Saruman's ArmyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5071 Accepted: 2628DescriptionSaruman the White must lead his army along a straight path from Isengard to Helm’s Deep.原创 2015-06-03 17:40:15 · 374 阅读 · 0 评论 -
POJ 3253 Fence Repair
Fence RepairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 30189 Accepted: 9748DescriptionFarmer John wants to repair a small length of the fence around the pasture. He measures原创 2015-06-03 18:47:59 · 374 阅读 · 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 评论 -
POJ 2393 Yogurt factory
Yogurt factoryTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7418 Accepted: 3801DescriptionThe cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the原创 2015-06-10 17:21:36 · 572 阅读 · 0 评论 -
POJ 2718 Smallest Difference
Smallest DifferenceTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5580 Accepted: 1509DescriptionGiven a number of distinct decimal digits, you can form one integer by choosing a n原创 2015-05-23 17:55:34 · 468 阅读 · 0 评论 -
POJ 3050 Hopscotch
HopscotchTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2419 Accepted: 1728DescriptionThe cows play the child's game of hopscotch in a non-traditional way. Instead of a linear set原创 2015-05-19 12:27:25 · 446 阅读 · 0 评论 -
POJ 2386 Lake Counting
Lake CountingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 22854 Accepted: 11526DescriptionDue to recent rains, water has pooled in various places in Farmer John's field, which i原创 2015-05-19 09:55:44 · 382 阅读 · 0 评论 -
POJ 1852 Ants
AntsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 11415 Accepted: 5059DescriptionAn army of ants walk on a horizontal pole of length l cm, each with a constant speed of 1 cm/s. W原创 2015-05-19 09:48:02 · 453 阅读 · 0 评论 -
POJ 3617
Best Cow LineTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12792 Accepted: 3707DescriptionFJ is about to take his N (1 ≤ N ≤ 2,000) cows to the annual"Farmer of the Year" competi原创 2015-06-03 16:16:10 · 407 阅读 · 0 评论 -
POJ 2376 Cleaning Shifts
Cleaning ShiftsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12883 Accepted: 3333DescriptionFarmer John is assigning some of his N (1 <= N <= 25,000) cows to do some cleaning cho原创 2015-06-03 20:27:29 · 483 阅读 · 0 评论 -
HDU 1327 Knight Moves
Knight MovesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8010 Accepted Submission(s): 4719Problem DescriptionA friend of you is do原创 2015-05-05 11:10:12 · 463 阅读 · 0 评论 -
POJ 1700 Crossing River
Crossing RiverTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 11365 Accepted: 4296DescriptionA group of N people wishes to go across a river with only one boat, which can at most c原创 2015-05-01 11:21:51 · 479 阅读 · 0 评论 -
POJ 2393 Yogurt factory
Yogurt factoryTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7306 Accepted: 3743DescriptionThe cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the原创 2015-05-01 16:59:09 · 474 阅读 · 0 评论 -
POJ 1013 Counterfeit Dollar
Counterfeit DollarTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 38774 Accepted: 12369DescriptionSally Jones has a dozen Voyageur silver dollars. However原创 2014-05-30 18:58:55 · 500 阅读 · 0 评论 -
POJ 1207 The 3n + 1 problem
The 3n + 1 problemTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 50496 Accepted: 15980DescriptionProblems in Computer Science are often classified as bel原创 2014-05-30 22:11:38 · 555 阅读 · 0 评论 -
HDU 题目1236 排名
排名Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14714 Accepted Submission(s): 5383Problem Description今天的上机考试虽然有实时的Ranklist,原创 2014-07-02 21:43:25 · 590 阅读 · 0 评论 -
POJ 1008 玛雅历
玛雅历Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 64696 Accepted: 19939Description上周末,M.A. Ya教授对古老的玛雅有了一个重大发现。从一个古老的节绳(玛雅人用于记事的工具)中,教授发现玛雅人使用了一个一年有365天的叫原创 2014-05-29 16:07:36 · 1007 阅读 · 0 评论 -
NYOJ 题目168 房间安排
房间安排时间限制:3000 ms | 内存限制:65535 KB难度:2描述 2010年上海世界博览会(Expo2010),是第41届世界博览会。于2010年5月1日至10月31日期间,在中国上海市举行。本次世博会也是由中国举办的首届世界博览会。上海世博会以“城市,让生活更美好”(Better City,Better Life)为主题,将充分探索21世纪城市生活。这次世原创 2014-06-10 22:22:50 · 401 阅读 · 0 评论 -
算法竞赛入门经典 第五章 因子和阶乘
输入正整数n(2<=n<=100),把阶乘n!=1*2*3*4*原创 2014-06-09 19:18:37 · 677 阅读 · 0 评论 -
算法竞赛入门经典 第五章 6174
假设你有一个各位数字互不相同的四位数,原创 2014-06-09 16:48:32 · 521 阅读 · 0 评论 -
算法竞赛入门经典 第五章 字母重排
输入一个字典(用******结束),然后再输入若干单词。没输入一个单词W,原创 2014-06-09 18:02:04 · 557 阅读 · 0 评论 -
HDU 1020 Encoding
EncodingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 28510 Accepted Submission(s): 12635Problem DescriptionGiven a string原创 2015-01-10 12:27:17 · 376 阅读 · 0 评论 -
HDU 2504 又见GCD
又见GCDTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11855 Accepted Submission(s): 5013Problem Description有三个正整数a,b,c(0原创 2015-02-01 20:17:57 · 486 阅读 · 0 评论 -
PKU 3252 Round Numbers
Round NumbersTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 9477 Accepted: 3396DescriptionThe cows, as you know, have no fingers or thumbs and thus are原创 2015-01-03 20:10:19 · 436 阅读 · 0 评论 -
POJ 3984 迷宫问题
迷宫问题Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9877 Accepted: 5848Description定义一个二维数组: int maze[5][5] = {0, 1, 0, 0, 0,0, 1, 0, 1, 0,0, 0, 0, 0, 0,0, 1, 1,原创 2015-05-05 16:21:43 · 379 阅读 · 0 评论 -
POJ 1328 Radar Installation
Radar InstallationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 58677 Accepted: 13205DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting,原创 2015-05-01 12:41:30 · 364 阅读 · 0 评论 -
POJ 1915 Knight Moves
Knight MovesTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 22794 Accepted: 10654DescriptionBackground Mr Somurolov, fabulous chess-gamer indeed, asserts that no one else but him原创 2015-05-05 12:03:43 · 365 阅读 · 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 评论 -
HDU 题目1051 Wooden Sticks
Wooden SticksTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11581 Accepted Submission(s): 4780Problem DescriptionThere is a pile of原创 2014-07-30 15:16:20 · 391 阅读 · 0 评论