HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


Rectangle

Section problems

• Istanbul
• T-shirts
• Dijkstra
• Workshop
• Big Dance
• Molecules
• Leap Year
• Factorial
• Rectangle
• City Tour
• Buying hay
• Sum until 0
• Flowchart 1
• Flowchart 2
• Flowchart 3
• Name-Surname
• Wonder primes

Feedback

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

Time limit 100/100/100/100 ms. Memory limit 65000/65000/65000/65000 Kb.

Write a program to calculate area and perimeter of rectangle according to sides lengths.

Input
length of side1 and side2 (both integers)
5 3

Output
area and perimeter
15 16

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

www.contester.ru