题解 | 牛牛学立体
牛牛学立体
https://www.nowcoder.com/practice/3d0bd5e060154211bddc1ee892714df0
#include <stdio.h>
int main() {
int a, b,c,S,V;
scanf("%d %d %d",&a,&b,&c);
S=2*(a*b+b*c+c*a);
V=a*b*c;
printf("%d\n",S);
printf("%d",V);
return 0;
}
