poj2318

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

TOYS

Calculate the number of toys that land in each bin of a partitioned toy box.Mom and dad have a problem - their child John never puts his toys away when he is finished playing with them. They gave John a rectangular box to put his toys in, but >>继续阅读

poj1236

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

Network of Schools

A number of schools are connected to a computer network. Agreements have been developed among those schools: each school maintains a list of schools to which it distributes software (the “receiving schools”). Note that if B is in >>继续阅读

poj2553

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

The Bottom of a Graph

We will use the following (standard) definitions from graph theory. Let V be a nonempty and finite set, its elements being called vertices (or nodes). Let E be a subset of the Cartesian product V×V, its elements being called e >>继续阅读

poj2186

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

Popular Cows

Every cow's dream is to become the most popular cow in the herd. In a herd of N (1 <= N <= 10,000) cows, you are given up to M (1 <= M <= 50,000) ordered pairs of the form (A, B) that tell you that cow A thinks that cow B i >>继续阅读

poj2762

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

Going from u to v or from v to u?

In order to make their sons brave, Jiajia and Wind take them to a big cave. The cave has n rooms, and one-way corridors connecting some rooms. Each time, Wind choose two rooms x and y, and ask one of their little s >>继续阅读

poj3177

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

Redundant Paths

In order to get from one of the F (1 <= F <= 5,000) grazing fields (which are numbered 1..F) to another field, Bessie and the rest of the herd are forced to cross near the Tree of Rotten Apples. The cows are now tired of often >>继续阅读

poj3352

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

Road Construction

It's almost summer time, and that means that it's almost summer construction time! This year, the good people who are in charge of the roads on the tropical island paradise of Remote Island would like to repair and upgrade the var >>继续阅读

poj2942

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

Knights of the Round Table

Being a knight is a very attractive career: searching for the Holy Grail, saving damsels in distress, and drinking with the other knights are fun things to do. Therefore, it is not very surprising that in recent years the >>继续阅读

zoj2588

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

Burning Bridges

Ferry Kingdom is a nice little country located on N islands that are connected by M bridges. All bridges are very beautiful and are loved by everyone in the kingdom. Of course, the system of bridges is designed in such a way that on >>继续阅读

poj1043

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

What's In A Name?

The FBI is conducting a surveillance of a known criminal hideout which serves as a communication center for a number of men and women of nefarious intent. Using sophisticated decryption software and good old fashion wiretaps, they >>继续阅读

poj3041

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

Asteroids

Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 <= N <= 500). The grid contains K asteroids (1 <= K <= 10,000), which are conveniently located at the lattice points of >>继续阅读

poj1422

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

Air Raid

Consider a town where all the streets are one-way and each street leads from one intersection to another. It is also known that starting from an intersection and walking through town's streets you can never reach the same intersection i.e. >>继续阅读

poj1466

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

Girls and Boys

In the second year of the university somebody started a study on the romantic relations between the students. The relation "romantically involved" is defined between one girl and one boy. For the study reasons it is necessary to find >>继续阅读

zoj1654

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

Place the Robots

Robert is a famous engineer. One day he was given a task by his boss. The background of the task was the following: Given a map consisting of square blocks. There were three kinds of blocks: Wall, Grass, >>继续阅读

hdu4417

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

Super Mario

Problem Description

Mario is world-famous plumber. His “burly” figure and amazing jumping ability reminded in our memory. Now the poor princess is >>继续阅读

hdu4251

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

The Famous ICPC Team Again

Problem Description

When Mr. B, Mr. G and Mr. M were preparing for the 2012 ACM-ICPC World Final Contest, Mr. B had collected a large set of contest problems for their daily training. When they decided to take training, >>继续阅读