zoj2770

maksyuki 发表于 oj 分类,标签:
0
zoj2770

Burn the Linked Camp

It is well known that, in the period of The Three Empires, Liu Bei, the emperor of the Shu Empire, was defeated by Lu Xun, a general of the Wu Empire. The defeat was due to Liu Bei's wrong decision >>继续阅读

poj1392

maksyuki 发表于 oj 分类,标签:
0
poj1392

Ouroboros Snake

Ouroboros is a mythical snake from ancient Egypt. It has its tail in its mouth and continously devours itself. The Ouroboros numbers are binary numbers of 2^n bits that have the property of "generating" the whole set of numbers from >>继续阅读

poj1780

maksyuki 发表于 oj 分类,标签:
0
poj1780

Code

KEY Inc., the leading company in security hardware, has developed a new kind of safe. To unlock it, you don't need a key but you are required to enter the correct n-digit code on a keypad (as if this were something new!). There are several mod >>继续阅读

poj3469

maksyuki 发表于 oj 分类,标签: ,
0
poj3469

Dual Core CPU

As more and more computers are equipped with dual core CPU, SetagLilb, the Chief Technology Officer of TinySoft Corporation, decided to update their famous product - SWODNIW. >>继续阅读

poj1637

maksyuki 发表于 oj 分类,标签:
0
poj1637

Sightseeing tour

The city executive board in Lund wants to construct a sightseeing tour by bus in Lund, so that tourists can see every corner of the beautiful city. They want to construct the tour so that every street in the city is visited exactly >>继续阅读

poj1459

maksyuki 发表于 oj 分类,标签:
0
poj1459

Power Network

A power network consists of nodes (power stations, consumers and dispatchers) connected by power transport lines. A node u may be supplied with an amount s(u) >= 0 of power, may produce an amount 0 <= p(u) <= pmax(u) of power >>继续阅读

poj2139

maksyuki 发表于 oj 分类,标签:
0
poj2139

Six Degrees of Cowvin Bacon

The cows have been making movies lately, so they are ready to play a variant of the famous game "Six Degrees of Kevin Bacon".

The game works like this: each cow is considered to >>继续阅读

poj2449

maksyuki 发表于 oj 分类,标签:
0
poj2449

Remmarguts' Date

"Good man never makes girls wait or breaks an appointment!" said the mandarin duck father. Softly touching his little ducks' head, he told them a story. >>继续阅读

poj1066

maksyuki 发表于 oj 分类,标签:
0
poj1066

Treasure Hunt

Archeologists from the Antiquities and Curios Museum (ACM) have flown to Egypt to examine the great pyramid of Key-Ops. Using state-of-the-art technology they are able to determine that the lower floor of the pyramid is constructed fr >>继续阅读

poj1329

maksyuki 发表于 oj 分类,标签:
0
poj1329

Circle Through Three Points

Your team is to write a program that, given the Cartesian coordinates of three points on a plane, will find the equation of the circle through them all. The three points will not be on a straight line. >>继续阅读

poj2653

maksyuki 发表于 oj 分类,标签:
0
poj2653

Pick-up sticks

Stan has n sticks of various length. He throws them one at a time on the floor in a random way. After finishing throwing, Stan tries to find the top sticks, that is these sticks such that there is no stick on top of them. Stan has no >>继续阅读

poj1556

maksyuki 发表于 oj 分类,标签: ,
0
poj1556

The Doors

You are to find the length of the shortest path through a chamber containing obstructing walls. The chamber will always have sides at x = 0, x = 10, y = 0, and y = 10. The initial and final points of the path are always (0, 5) and (10, 5) >>继续阅读

poj3111

maksyuki 发表于 oj 分类,标签:
0
poj3111

K Best

Demy has n jewels. Each of her jewels has some value vi and weight wi.

Since her husband John got broke after recent financial crises, Demy has decided to sell some jewels. She has decided that she would keep k best jewels for herself. She >>继续阅读

poj2976

maksyuki 发表于 oj 分类,标签:
0
poj2976

Dropping tests

In a certain course, you take n tests. If you get ai out of bi questions correct on test i, your cumulative average is defined to be. Given your test scores and a positive integer k, determine how high you can make your cumulative av >>继续阅读

poj2954

maksyuki 发表于 oj 分类,标签:
0
poj2954

Triangle

A lattice point is an ordered pair (x, y) where x and y are both integers. Given the coordinates of the vertices of a triangle (which happen to be lattice points), you are to count the number of lattice points which lie completely inside o >>继续阅读

poj1265

maksyuki 发表于 oj 分类,标签:
0
poj1265

Area

Being well known for its highly innovative products, Merck would definitely be a good target for industrial espionage. To protect its brand-new research and development facility the company has installed >>继续阅读