
OJ系列-POJ
文章平均质量分 81
sortmin
这个作者很懒,什么都没留下…
展开
-
POJ-3253-Fence Repair
Fence Repair Description Farmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needs N (1 ≤ N ≤ 20,000) planks of wood, each having so原创 2017-11-28 22:55:06 · 252 阅读 · 0 评论 -
POJ 3784 Running Median(中位数)
Running MedianDescriptionFor this problem, you will write a program that reads in a sequence of 32-bit signed integers. After each odd-indexed value is read, outp...原创 2018-03-26 00:44:40 · 251 阅读 · 0 评论 -
POJ 2018 Best Cow Fences
Best Cow FencesDescriptionFarmer John's farm consists of a long row of N (1 <= N <= 100,000)fields. Each field contains a certain number of cows, 1 <= ncows...原创 2018-03-24 23:25:40 · 335 阅读 · 0 评论 -
POJ 1050 To the Max
To the MaxDescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater locat...原创 2018-03-24 22:08:55 · 161 阅读 · 0 评论 -
POJ 2586 Y2K Accounting Bug
Y2K Accounting Bug题目链接:http://poj.org/problem?id=2586DescriptionAccounting for Computer Machinists (ACM) has sufferred from the Y2K bug and lost some vital d...原创 2018-03-04 00:33:28 · 179 阅读 · 0 评论 -
POJ 2109 Power of Cryptography
Power of Cryptography题目链接:http://poj.org/problem?id=2109DescriptionCurrent work in cryptography involves (among other things) large prime numbers and computing ...原创 2018-03-03 21:01:46 · 134 阅读 · 0 评论 -
POJ 1328 Radar Installation
Radar Installation题目链接:http://poj.org/problem?id=1328DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea i...原创 2018-03-03 20:41:49 · 144 阅读 · 0 评论 -
POJ 2376 Cleaning Shifts
Cleaning Shifts题目链接:http://poj.org/problem?id=2376DescriptionFarmer John is assigning some of his N (1 <= N <= 25,000) cows to do some cleaning ch...原创 2018-03-03 02:16:01 · 167 阅读 · 0 评论 -
POJ2395 Out of Hay
Out of HayTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 18697 Accepted: 7393DescriptionThe cows have run out of hay, a horrible event that must be remedied immediately. Bessie intends to v...原创 2018-03-15 00:57:51 · 188 阅读 · 0 评论 -
POJ1258 Agri-Net
Agri-NetTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 65154 Accepted: 26945DescriptionFarmer John has been elected mayor of his town! One of his campaign promises was to bring internet con...原创 2018-03-14 23:17:38 · 216 阅读 · 0 评论 -
POJ-2386-Lake Counting
Lake Counting Description Due to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 <= N <= 100; 1 <= M <= 100) squares. Each原创 2017-11-27 23:56:03 · 181 阅读 · 0 评论 -
POJ-3617-Best Cow Line
Best Cow Line Description FJ is about to take his N (1 ≤ N ≤ 2,000) cows to the annual"Farmer of the Year" competition. In this contest every farmer arranges his cows in a line and herds them past原创 2017-11-28 12:14:18 · 221 阅读 · 0 评论 -
POJ 2299 Ultra-QuickSort(逆序数)
Ultra-QuickSortDescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping two...原创 2018-03-26 03:54:47 · 210 阅读 · 0 评论