
POJ
文章平均质量分 81
Snakeflute
鲜血与雷鸣
展开
-
POJ 3660 - Cow Contest(传递闭包+Floyd)
Cow Contest Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10479 Accepted: 5853 DescriptionN (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programmin原创 2016-12-01 13:16:44 · 373 阅读 · 0 评论 -
POJ 2559 - Largest Rectangle in a Histogram(单调栈)
Largest Rectangle in a Histogram Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 20194 Accepted: 6488 DescriptionA histogram is a polygon composed of a sequence of rectangles原创 2016-11-19 17:21:05 · 218 阅读 · 0 评论 -
POJ 3159 Candies(差分约束+dijkstra+heap)
Candies Time Limit: 1500MS Memory Limit: 131072K Total Submissions: 30002 Accepted: 8320 DescriptionDuring the kindergarten days, flymouse was the monitor of his class. Occasionally the原创 2016-12-01 21:37:18 · 354 阅读 · 0 评论 -
POJ 2502 - Subway(单源最短路)
Subway Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9121 Accepted: 2959 DescriptionYou have just moved from a quiet Waterloo neighbourhood to a big, noisy city. Instead of get原创 2016-12-02 19:16:07 · 958 阅读 · 0 评论 -
POJ 1703 - Find them, Catch them(种类并查集)
Find them, Catch them Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 42920 Accepted: 13195 DescriptionThe police office in Tadu City decides to say ends to the chaos, as laun原创 2016-12-06 21:29:40 · 290 阅读 · 0 评论 -
POJ 3268 - Silver Cow Party(单源最短路)
Silver Cow Party Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 19659 Accepted: 8987 DescriptionOne cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is goin原创 2016-11-25 15:52:11 · 307 阅读 · 0 评论 -
POJ 3468 - A Simple Problem with Integers(线段树区间更新)
A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 100889 Accepted: 31452 Case Time Limit: 2000MS DescriptionYou have N integers, A1, A2, … , AN.原创 2016-12-06 22:05:43 · 283 阅读 · 0 评论 -
POJ 2387 - Til the Cows Come Home(单源最短路)
Til the Cows Come Home Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 46795 Accepted: 15924 DescriptionBessie is out in the field and wants to get back to the barn to get as原创 2016-11-26 03:11:20 · 304 阅读 · 0 评论 -
POJ 2253 - Frogger(dijkstra变形)
Frogger Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 39545 Accepted: 12714 DescriptionFreddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona F原创 2016-11-26 21:02:17 · 269 阅读 · 0 评论 -
POJ 1797 - Heavy Transportation(dijkstra变形)
Heavy Transportation Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 31541 Accepted: 8362 DescriptionBackground Hugo Heavy is happy. After the breakdown of the Cargolifter p原创 2016-11-26 22:23:06 · 340 阅读 · 0 评论 -
POJ 3061 - Subsequence(尺取法)
Subsequence Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 12967 Accepted: 5479 DescriptionA sequence of N positive integers (10 < N < 100 000), each of them less than or equ原创 2016-11-27 02:11:50 · 305 阅读 · 0 评论 -
POJ 2528 - Mayor's posters(模拟)
Mayor’s posters Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 60890 Accepted: 17606 DescriptionThe citizens of Bytetown, AB, could not stand that the candidates in the mayor原创 2016-12-09 18:55:50 · 412 阅读 · 0 评论 -
POJ 2828 - Buy Tickets(线段树)
Buy Tickets Time Limit: 4000MS Memory Limit: 65536K Total Submissions: 19367 Accepted: 9587 DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we mus原创 2017-01-14 00:41:29 · 445 阅读 · 0 评论 -
POJ 2431 - Expedition(贪心)
Expedition Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14212 Accepted: 4020 DescriptionA group of cows grabbed a truck and ventured on an expedition deep into the jungle.原创 2017-02-20 18:25:15 · 465 阅读 · 0 评论 -
POJ 3191 - The Moronic Cowmpouter(进制转换)
The Moronic Cowmpouter Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 4192 Accepted: 2168 DescriptionInexperienced in the digital arts, the cows tried to build a calculating eng原创 2017-03-13 14:41:29 · 558 阅读 · 0 评论 -
POJ 3368 - Frequent values(离散化ST)
Frequent values Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 18364 Accepted: 6602 DescriptionYou are given a sequence of n integers a1 , a2 , … , an in non-decreasing order原创 2017-03-13 20:54:08 · 508 阅读 · 0 评论 -
POJ 1502 - MPI Maelstrom(单源最短路)
MPI Maelstrom Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 8783 Accepted: 5403 DescriptionBIT has recently taken delivery of their new supercomputer, a 32 processor Apollo Ody原创 2016-11-30 19:23:12 · 303 阅读 · 0 评论 -
POJ 3259 - Wormholes(Bellman负环)
Wormholes Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 46424 Accepted: 17159 DescriptionWhile exploring his many farms, Farmer John has discovered a number of amazing wormh原创 2016-11-30 18:03:54 · 310 阅读 · 0 评论 -
POJ 3250 - Bad hair day(单调栈)
Bad Hair Day Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 17357 Accepted: 5847 Description Some of FarmerJohn’s N cows (1≤ N ≤ 80,000) are having abad hair day! Since each cow is se原创 2016-08-01 16:06:52 · 474 阅读 · 0 评论 -
POJ 1064 - Cable master(二分)
Cable master Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 37699 Accepted: 8021 DescriptionInhabitants of the Wonderland have decided to hold a regional programming contest.原创 2016-08-05 15:50:10 · 336 阅读 · 0 评论 -
POJ 1068 - Parencodings
Parencodings Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 24828 Accepted: 14627 DescriptionLet S = s1 s2…s2n be a well-formed string of parentheses. S can be encoded in two原创 2016-08-02 14:03:00 · 311 阅读 · 0 评论 -
POJ 1458 - Common Subsequence(LCS)
Common Subsequence Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 48245 Accepted: 19888 DescriptionA subsequence of a given sequence is the given sequence with some elements原创 2016-09-09 20:35:31 · 293 阅读 · 0 评论 -
POJ 3111 - K Best(0/1分数规划)
K Best Time Limit: 8000MS Memory Limit: 65536K Total Submissions: 8707 Accepted: 2249 Case Time Limit: 2000MS Special Judge DescriptionDemy has n jewels. Each of her jewels has some va原创 2016-08-10 17:22:27 · 367 阅读 · 0 评论 -
POJ 3624 - Charm Bracelet(01背包)
Charm Bracelet Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 34002 Accepted: 15080 DescriptionBessie has gone to the mall’s jewelry store and spies a charm bracelet. Of cour原创 2016-08-12 21:56:56 · 288 阅读 · 0 评论 -
POJ 1328 - Radar Installation(贪心)
Radar Installation Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 78169 Accepted: 17491 DescriptionAssume the coasting is an infinite straight line. Land is in one side of co原创 2016-10-09 21:02:55 · 316 阅读 · 0 评论 -
POJ 3122 - Pie(二分)
Pie Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 15626 Accepted: 5339 Special Judge DescriptionMy birthday is coming up and traditionally I’m serving pie. Not just one原创 2016-09-28 15:22:08 · 411 阅读 · 0 评论 -
POJ 1013 - Counterfeit Dollar(模拟)
Counterfeit Dollar Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 45041 Accepted: 14249 DescriptionSally Jones has a dozen Voyageur silver dollars. However, only eleven of th原创 2016-09-28 16:43:46 · 599 阅读 · 0 评论 -
POJ 1321 - 棋盘问题(DFS)
棋盘问题 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 37755 Accepted: 18523 Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的原创 2016-11-05 14:56:55 · 274 阅读 · 0 评论 -
POJ 1258 - Agri-Net(最小生成树)
Agri-Net Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 54030 Accepted: 22430 DescriptionFarmer John has been elected mayor of his town! One of his campaign promises was to b原创 2016-11-09 16:30:38 · 289 阅读 · 0 评论 -
POJ 2377 - Bad Cowtractors(最大生成树)
Language: Bad Cowtractors Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14195 Accepted: 5819 DescriptionBessie has been hired to build a cheap internet network among Farmer原创 2016-11-09 21:47:29 · 241 阅读 · 0 评论 -
POJ 3723 - Conscription(最大生成树)
Conscription Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11940 Accepted: 4209 DescriptionWindy has a country, and he wants to build an army to protect his country. He has原创 2016-11-10 16:00:41 · 586 阅读 · 0 评论 -
POJ 2236 - Wireless Network(并查集)
Wireless Network Time Limit: 10000MS Memory Limit: 65536K Total Submissions: 24536 Accepted: 10239 DescriptionAn earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical原创 2016-11-10 21:19:44 · 247 阅读 · 0 评论 -
POJ 3461 - Oulipo(KMP)
Oulipo Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 37038 Accepted: 14955 DescriptionThe French author Georges Perec (1936–1982) once wrote a book, La disparition, without原创 2016-10-30 14:40:42 · 261 阅读 · 0 评论 -
POJ 1860 - Currency Exchange(SPFA正环)
Currency Exchange Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 27852 Accepted: 10357 DescriptionSeveral currency exchange points are working in our city. Let us suppose tha原创 2016-11-29 16:49:24 · 516 阅读 · 0 评论 -
POJ 1182 - 食物链(种类并查集)
食物链 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 67959 Accepted: 20089 Description动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到原创 2017-02-23 16:40:03 · 437 阅读 · 0 评论