ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Форумы > Обсуждение задач > тема:


Задача "50422 - Area and Perimeter of different Shapes"

Идёт турнир!

В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.

imesecan31.авг.2015 в 14:14:51
0--- Test 1 ---
1
7

--- Pattern1 ---
153.938 43.982

imesecan05.дек.2015 в 11:05:54
1It's isosceles triangle that means two sides are equal and we are given base and height. If you draw a line from the top to the center of base (base/2) you will get a right triangle. with the sides c (hypotenuse) (base/2) and height (h). Then using Pythagorean theorem you can calculate c.

Then the perimeter is 2c+base.

Note: Pay attention when calculating base/2, since base may be an odd number.


www.contester.ru