HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginners > problem:


002. 50348 - Area and Perimeter of a Rectangle

Guest
• Discussion of problem (8)

Volume problems

• 51033 - Sum of the series
• 51027 - Download Percentage
• 51028 - Isosceles Triangles
• 51031 - Convert from Hex to Dec
• 51030 - Number of Right Triangles
• 51007 - Function f(x)
• 50579 - Pentagonal Numbers
• 001. 51153 - A+B.
• 002. 50348 - Area and Perimet...
• 003. 50349 - Area of a Triangle
• 004. 50350 - Fahrenheit to Celsius
• 005. 50797 - Nr of Missing Guests
• 007. 50280 - Division
• 010. 50357 - Convert Euros into Dol...
• 015. 50356 - Hours Passed
• 020. 50351 - Convert inches to cm
• 025. 50294 - Centimeters to Yards

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