import java.util.Scanner;
public class Main{
public static void main(String []args){
Scanner sc = new Scanner(System.in);
int length = sc.nextInt();
int width = sc.nextInt();
int height = sc.nextInt();
System.out.printf("%d\n%d",(length * width + length * height + height * width) * 2, length * width * height);
}
}
这题掌握立方体公式就可以求出答案

京公网安备 11010502036488号