uva221

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

An elevation of a collection of buildings is an orthogonal projection of the buildings onto a vertical plane. An external elevation of a city would show the skyline and the faces of the “visible” buildings of the city as viewed from outside the city >>继续阅读

uva814

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

For an electronic mail application you are to describe the SMTP-based communication that takes place between pairs of MTAs. The sender’s User Agent gives a formatted message to the sending Message Transfer Agent (MTA). The sending MTA communicates wi >>继续阅读

uva207

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

A PGA (Professional Golf Association) Tour event is a golf tournament in which prize money is awarded to the best players. The tournament is broken into four rounds of 18 holes apiece. All players are eligible to play the first two rounds. Only those >>继续阅读

AtCoder Grand Contest 020 (2/6)

maksyuki 发表于 比赛 分类,标签:
0
AtCoder Grand Contest 020 (2/6)

A Move and Win

A game is played on a strip consisting of N cells consecutively numbered from 1 to N.

Alice has her token on cell A. Borys has his token on a different cell B.

Players take turns, Alice moves first. The moving player must shift h >>继续阅读

Codeforces Educational Round 36(Rated for Div. 2) (3/7)

maksyuki 发表于 比赛 分类,标签:
0
Codeforces Educational Round 36(Rated for Div. 2) (3/7)

A Garden

Luba thinks about watering her garden. The garden can be represented as a segment of length k. Luba has got n buckets, the i-th bucket allows her to water some continuous subsegment of garden of length exactly ai each hour. Luba can't wate >>继续阅读

uva1592

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

Peter studies the theory of relational databases. Table in the relational database consists of values that are arranged in rows and columns.

There are different normal forms that database may adhere to. Normal forms are designed to minimize the red >>继续阅读

Codeforces Round Hello 2018 (4/8)

maksyuki 发表于 比赛 分类,标签:
0
Codeforces Round Hello 2018 (4/8)

A Modular Exponentiation

The following problem is well-known: given integers n and m, calculate,

where 2n = 2·2·...·2 (n factors), and denotes the remainder of division of x by y.

You are asked to solve the "reverse" problem. Given integers n a >>继续阅读

Codeforces Round #456(Div.2) (2/5)

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

A Tricky Alchemy

During the winter holidays, the demand for Christmas balls is exceptionally high. Since it's already 2018, the advances in alchemy allow easy and efficient ball creation by utilizing magic crystals.

Grisha needs to obtain some ye >>继续阅读

uva400

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

The computer company you work for is introducing a brand new computer line and is developing a new Unix-like operating system to be introduced along with the new computer. Your assignment is to write the formatter for the ls function.

Your program >>继续阅读

uva540

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

Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, though it occurs often in everyday life. At lunch time the queue in front of the Mensa is a team queue, for exa >>继续阅读

uva12096

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

Background from Wikipedia: “Set theory is a branch of mathematics created principally by the German mathematician Georg Cantor at the end of the 19th century. Initially controversial, set theory has come to play the role of a foundational theory in m >>继续阅读

uva156

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

Most crossword puzzle fans are used to anagrams — groups of words with the same letters in different orders — for example OPTS, SPOT, STOP, POTS and POST. Some words however do not have this attribute, no matter how you rearrange their letters, you c >>继续阅读

uva10815

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

Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words that he knows is, well, not quite enough. Instead of thinking up all the words himself, he has a briliant idea. From his book >>继续阅读

uva101

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

Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and robotics (STRIPS) used a block world in which a robot arm performed tasks involving the manipulation >>继续阅读

uva10474

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

Raju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the beginning, Raju would place the marbles one after another in ascending order of the numbers written on them. Then Meena would ask Raju to fi >>继续阅读

uva509

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

RAID (Redundant Array of Inexpensive Disks) is a technique which uses multiple disks to store data. By storing the data on more than one disk, RAID is more fault tolerant than storing data on a single disk. If there is a problem with one of the disks >>继续阅读