0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-23 21:48:48 +00:00

9205. 长方体表面积与体积

https://xjoi.net/detail/1162333
This commit is contained in:
Baoshuo Ren 2021-11-11 10:40:29 +08:00 committed by Baoshuo Ren
parent 1f26e21ab0
commit 4b68402aaf
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

View File

@ -0,0 +1,10 @@
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << 2 * (a * b + b * c + a * c) << ' ' << a * b * c << endl;
return 0;
}