WEBSITE RETURNED, HOWEVER SUBMIT QUANTITY IS RESTRICTED PER DAY TO VERY LITTLE (UNDER JUDGE0 NEW POLICY, API PROVIDER). Therefore it is very much for you to pay attention TEST CAREFULLY CODE BEFORE SUBMIT.

Chu vi, HCN area

Threads: Input 2 is a positive integer 2 next to a, b of the rectangle (0 < a, b <= 100000). Calculate the perimeter, HCN area.
Input: A line of 2 numbers separated by spaces.
Output: A line of 2 of the perimeter, HCN area separated by spaces.

For example:

input:
10 7
output:
34 70

You are not logged in? Log in to Submit Now!

11 Comments

Add a Comment