#t156. 计算输出3
计算输出3
Calculation Output 3
Problem Description
A rectangle is centimetres long and centimetres wide. Compute and print its perimeter and area.
Input Format
This problem has no input.
Output Format
Print one line in the format:
周长=xxx 面积=xxx
where xxx is replaced by the actual perimeter and the actual area (integers).
Note: the labels 周长 (perimeter) and 面积 (area) must be printed exactly as shown above — the judge compares them character by character, so do not translate them in your output.
Hint
- No input; compute the perimeter and area on paper first.
- The parts 周长= and 面积= must be printed as they are, with the numbers in between — count the spaces around
=and between the two numbers against the sample, character by character.