题解 | 牛牛学立体
牛牛学立体
https://www.nowcoder.com/practice/3d0bd5e060154211bddc1ee892714df0
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios::sync_with_stdio(false), cin.tie(0);
int a, b, c;
cin >> a >> b >> c;
int s, v;
s = 2 * (a * b + c * b + a * c);
v = a * b * c;
cout << s << '\n';
cout << v << '\n';
return 0;
}
查看21道真题和解析
