poj1654

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

Area

You are going to compute the area of a special kind of polygon. One vertex of the polygon is the origin of the orthogonal coordinate system. From this vertex, you may go step by step to the following vertexes of the polygon until back to the i >>继续阅读

poj3348

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

Cows

However, because you will oversee the construction of the pasture yourself, all the farmers want to know is how many cows they can put in the pasture. It is well known that a cow needs at least 50 square metres of pasture to survive.Your frien >>继续阅读

Codeforces Round #340(Div.2) (4/5)

maksyuki 发表于 比赛 分类,标签:
0
Codeforces Round #340(Div.2) (4/5)

A Elephant

An elephant decided to visit his friend. It turned out that the elephant's house is located at point 0 and his friend's house is located at point x(x > 0) of the coordinate line. In one step the elephant >>继续阅读

poj2187

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

Beauty Contest

Bessie, Farmer John's prize cow, has just won first place in a bovine beauty contest, earning the title 'Miss Cow World'. As a result, Bessie will make a tour of N (2 <= N <= 50,000) farms around >>继续阅读

poj1873

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

The Fortified Forest

Once upon a time, in a faraway land, there lived a king. This king owned a small collection of rare and valuable trees, which had been gathered by his ancestors on their travels. To protect his trees from thieves, the king orde >>继续阅读

poj2007

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

Scrambled Polygon

A closed polygon is a figure bounded by a finite number of line segments. The intersections of the bounding line segments are called the vertices of the polygon. When one starts at any vertex of a closed polygon and traverses each >>继续阅读

TopCoder SRM#679(Div2)(2/3)

maksyuki 发表于 比赛 分类,标签:
0
TopCoder SRM#679(Div2)(2/3)

250 Problem Statement

You have two favorite music bands. Each of them has just recorded a new album. You have bought both albums.

You know the durations (in seconds) of songs on each of >>继续阅读

poj1113

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

Wall

Once upon a time there was a greedy King who ordered his chief Architect to build a wall around the King's castle. The King was so greedy, that he would not listen to his Architect's proposals to build a beautiful brick wall with a perfect sha >>继续阅读

hdu1392

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

Surround the Trees

Problem Description

There are a lot of trees in an area. A peasant wants to buy a rope to surround all these trees. So at first he must know the minimal required length of the rope. However, he does not know how to >>继续阅读

poj3304

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

Segments

Given n segments in the two dimensional space, write a program, which determines if there exists a line such that after projecting these segments on it, all projected segments have at least one point in >>继续阅读

TopCoder SRM#677(Div2)(2/3)

maksyuki 发表于 比赛 分类,标签:
0
TopCoder SRM#677(Div2)(2/3)

250 Problem Statement

A positive integer is called a prime if it has exactly two distinct positive integer divisors: 1 and itself. The first few primes are 2, 3, 5, 7, 11, 13, ...

A positive integer is called a palindrome if its base-10 represent >>继续阅读

poj3592

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

Instantaneous Transference

It was long ago when we played the game Red Alert. There is a magic function for the game objects which is called instantaneous transfer. When an object uses this magic function, it will be transferred to the specified po >>继续阅读

poj1904

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

King's Quest

Once upon a time there lived a king and he had N sons. And there were N beautiful girls in the kingdom and the king knew about each of his sons which of those girls he did like. The sons of the king were young and light-headed, so it w >>继续阅读

poj3160

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

Father Christmas flymouse

After retirement as contestant from WHU ACM Team, flymouse volunteered to do the odds and ends such as cleaning out the computer lab for training as extension of his contribution to the team. When Christmas came, flymouse >>继续阅读

poj1269

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

Intersecting Lines

We all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will intersect in one of three ways: 1) no intersection because they are parallel, 2) intersect in a line because they are o >>继续阅读

poj2398

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

Toy Storage

Mom and dad have a problem: their child, Reza, never puts his toys away when he is finished playing with them. They gave Reza a rectangular box to put his toys in. Unfortunately, Reza is rebellious and obeys his parents by simply throwi >>继续阅读