题解 | 牛牛学立体
牛牛学立体
https://www.nowcoder.com/practice/3d0bd5e060154211bddc1ee892714df0
#include <stdio.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("%d\n%d",2*(a*b+b*c+c*a),a*b*c);
return 0;
}
牛牛学立体
https://www.nowcoder.com/practice/3d0bd5e060154211bddc1ee892714df0
#include <stdio.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("%d\n%d",2*(a*b+b*c+c*a),a*b*c);
return 0;
}
相关推荐
查看17道真题和解析