HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Geometry > problem:


50035 - Area and Perimeter of a Rectangle

Section problems

• Lights
• 50025 - How far away
• 50035 - Area and Perimeter of a...
• 50036 - Area of a Triangle
• 50067 - The Number of Points in a ...
• 50082 - Area and Perimeter of diffe...
• 50117 - What quadrant is it?
• 50122 - Radius of Inscribed Circle
• 50130 - The Biggest Area
• 50153 - Max Distance
• 50208 - Area of Triangle Revised

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Question by Ibrahim Mesecan. Difficulty Alpha

Area and Perimeter of a Rectangle

You will be given two sides of a rectange (a,b). Calculate and show the area and the perimeter of it.

Input specification
You will be given the two integers a and b where 1 ≤ (a, b) ≤ 5000

Output specification
Calculate and show the area and the perimeter of the given rectangle.

Sample Input I
  5 2
Sample Output I
  10 14


Для отправки решений необходимо выполнить вход.

www.contester.ru