乐逍遥xwl

导航

随笔分类 -  POJ

POJ 3190 Stall Reservations (优先队列+结构体)
摘要:Stall Reservations Description Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise time in 阅读全文

posted @ 2019-08-10 10:25 乐逍遥xwl 阅读(171) 评论(0) 推荐(0)

POJ 3264 Balanced Lineup (区间最值问题)
摘要:Balanced Lineup Description For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides 阅读全文

posted @ 2019-08-10 10:02 乐逍遥xwl 阅读(162) 评论(0) 推荐(0)

POJ 3614 Sunscreen (优先队列)
摘要:Sunscreen Description To avoid unsightly burns while tanning, each of the C (1 ≤ C ≤ 2500) cows must cover her hide with sunscreen when they're at the 阅读全文

posted @ 2019-07-09 21:19 乐逍遥xwl 阅读(167) 评论(0) 推荐(0)

POJ 3176 Cow Bowling (数塔DP)
摘要:Cow Bowling Description The cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line u 阅读全文

posted @ 2019-07-09 19:18 乐逍遥xwl 阅读(145) 评论(0) 推荐(0)

POJ 1862 Stripies (优先队列)
摘要:Stripies Description Our chemical biologists have invented a new very useful form of life called stripies (in fact, they were first called in Russian 阅读全文

posted @ 2019-07-08 21:07 乐逍遥xwl 阅读(198) 评论(0) 推荐(0)

POJ 3268 (dijkstra算法)
摘要:Silver Cow Party Description One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at 阅读全文

posted @ 2019-06-03 20:17 乐逍遥xwl 阅读(201) 评论(0) 推荐(0)

POJ 3264 (线段树)
摘要:Balanced Lineup Description For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides 阅读全文

posted @ 2019-06-03 19:57 乐逍遥xwl 阅读(156) 评论(0) 推荐(0)

POJ 3468 (线段树)
摘要:题目链接:http://poj.org/problem?id=3468 You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to 阅读全文

posted @ 2019-05-23 20:09 乐逍遥xwl 阅读(141) 评论(0) 推荐(0)

POJ 3617 字典序最小问题
摘要: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 a 阅读全文

posted @ 2019-05-11 12:00 乐逍遥xwl 阅读(228) 评论(0) 推荐(0)