URAL 1572. Yekaterinozavodsk Great Well(数学啊)

Let us denote a circle by 1, a square by 2, and a triangle by 3. This number will be the type of the figure. The size of a circle is its radius, the size of a square or triangle is the length of its side (the sides have equal lengths). The first line contains two numbers: the type and the size of the Great Well’s aperture. The second line contains an integerN, which is the number of manhole covers collected by the programmers,1 ≤N≤ 100. These covers are described in the nextNlines: each of them contains the type and the size of a cover; the numbers are separated with a space. Sizes of all figures are integers in the range from 1 to 100.

,人,总是很难改正自己的缺点,

URAL 1572. Yekaterinozavodsk Great Well(数学啊)

相关文章:

你感兴趣的文章:

标签云: