POJ
轻舟不载愁
获得10万访问量的方式有两种
1.写一篇博客,有10万访问量
2.写10万篇博客,让每一篇都有1访问量
展开
-
POJ - 3468 A Simple Problem with Integers(线段树模板题)
题目地址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 add some given number to each number in a given i...原创 2020-03-05 19:04:12 · 166 阅读 · 0 评论 -
POJ3264 Balanced Lineup(线段树模板题)
题目地址 题意 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 to organize a game of Ultimate Frisbee with some of the cows. To keep...原创 2020-03-05 11:04:24 · 293 阅读 · 2 评论 -
POJ-1000
A+B Problem Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 475240 Accepted: 268304 Description Calculate a+b Input Two integer a,b (0<=a,b<=10) Output Output a+b Sample Input 1 2 S...原创 2019-03-26 06:34:59 · 171 阅读 · 0 评论 -
POJ 3190 Stall Reservations(贪心算法 + 优先队列)
题目链接POJ3190 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 interval A…B (1 <= A <= B <= 1,000,000), whi...原创 2019-06-10 22:46:47 · 214 阅读 · 0 评论 -
POJ-1163 The Triangle(简单dp)
Description 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 (Figure 1) Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on a route that starts at t...原创 2019-06-11 17:40:42 · 124 阅读 · 0 评论 -
007:滑雪(百练/POJ1088)(DFS+DP)
总时间限制: 1000ms 内存限制: 65536kB 描述 Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长的滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1 2 3 4 5 16 17 18 19 6 15 24 25...原创 2019-07-22 21:58:07 · 144 阅读 · 0 评论