题解 | #牛牛学立体#
牛牛学立体
https://ac.nowcoder.com/acm/problem/21999
传送门->https://ac.nowcoder.com/acm/problem/21999
my blog->https://blog.nowcoder.net/yanhaoyang2106
长方形的表面积:2(ab+ah+bh)
长方形的体积:abh
#include<iostream>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
cout<<(a*b+a*c+b*c)*2<<endl<<a*b*c;
return 0;
}
拜拜
已写的题解集 文章被收录于专栏
将自己知道的一些竞赛知识推广给大家