820 - EECS_I2P(I)2015_Chen_Lab1 Scoreboard

Time

2015/09/23 08:30:00 2015/09/23 09:30:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
10730 Cuboid

10730 - Cuboid   

Description

In a cuboid(rectangular solid), there are several edges. Among these edges, three edges can represent cuboid's length, width, and height respectively.

Here, you are given three numbers L, W and H. L is cuboid's length, W is cuboid's width, and H is cuboid's height. Then, what is the volume of the cuboid, and what is the surface area of the cuboid?

Input

Three integers separated by blanks. The first integer (L) is cuboid's length, where 0<L<1000. The second integer (W) is cuboid's width, where 0<W<1000. The third integer (H) is cuboid's height, where 0<H<1000.

Output

Two values separated by a blank. The first value is the volume of the cuboid, and the second value is the surface area of the cuboid. Note that you do not need to print '\n' at the end of the output.

Sample Input  Download

Sample Output  Download

Tags




Discuss