poj
console.log( )
吾日三省吾身:这事能不能不干、这事能不能推给别人干、这事能不能明天干。
展开
-
Crossed Ladders<poj2507题目一样>
DescriptionA narrow street is lined with tall buildings. An x foot long ladder is rested at the base of the building on the right side of the street and leans on the building on the left side. A y原创 2016-07-27 20:36:27 · 750 阅读 · 0 评论 -
poj2299:Ultra-QuickSort(树状数组+离散化)
DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping two adjacent sequence elements until the seq原创 2016-08-18 20:32:26 · 415 阅读 · 0 评论 -
<poj1985>Cow Marathon
DescriptionAfter hearing about the epidemic of obesity in the USA, Farmer John wants his cows to get more exercise, so he has committed to create a bovine marathon for his cows to run. The maratho原创 2016-08-02 21:32:18 · 300 阅读 · 0 评论 -
<poj2631>Roads in the North
DescriptionBuilding and maintaining roads among communities in the far North is an expensive business. With this in mind, the roads are build such that there is only one route from a village to a原创 2016-08-02 21:34:14 · 291 阅读 · 0 评论 -
<poj2585>Window Pains
DescriptionBoudreaux likes to multitask, especially when it comes to using his computer. Never satisfied with just running one application at a time, he usually runs nine applications, each in its原创 2016-08-05 21:39:01 · 606 阅读 · 0 评论 -
<poj2367>Genealogical tree
DescriptionThe system of Martians' blood relations is confusing enough. Actually, Martians bud when they want and where they want. They gather together in different groups, so that a Martian can h原创 2016-08-05 21:57:05 · 284 阅读 · 0 评论 -
<poj1745>Divisibility
DescriptionConsider an arbitrary sequence of integers. One can place + or - operators between integers in the sequence, thus deriving different arithmetical expressions that evaluate to different原创 2016-08-08 21:47:54 · 384 阅读 · 0 评论 -
poj1971:Parallelogram Counting
DescriptionThere are n distinct points in the plane, given by their integer coordinates. Find the number of parallelograms whose vertices lie on these points. In other words, find the number of 4-原创 2016-08-17 21:09:29 · 357 阅读 · 0 评论 -
Catch That Cow<poj3278>
DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line and the cow is at a point原创 2016-07-29 16:10:59 · 269 阅读 · 0 评论 -
Avoid The Lakes<poj3620>
DescriptionFarmer John's farm was flooded in the most recent storm, a fact only aggravated by the information that his cows are deathly afraid of water. His insurance agency will only repay him,原创 2016-07-29 08:58:22 · 296 阅读 · 0 评论 -
Pie<poj3122>
DescriptionMy birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F of my friends are coming to my par原创 2016-07-27 20:47:28 · 1675 阅读 · 0 评论 -
River Hopscotch<poj3528>
DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement takes place on a long, straigh原创 2016-07-27 20:43:52 · 329 阅读 · 0 评论 -
Expanding Rods<poj1905>
DescriptionWhen a thin rod of length L is heated n degrees, it expands to a new length L' = (1+n*C)*L, where C is the coefficient of heat expansion.When a thin rod is mounted on two solid wall原创 2016-07-27 20:39:46 · 369 阅读 · 0 评论 -
poj1383:Labyrinth
DescriptionThe northern part of the Pyramid contains a very large and complicated labyrinth. The labyrinth is divided into square blocks, each of them either filled by rock, or free. There is also原创 2016-08-02 21:41:08 · 434 阅读 · 0 评论