- C++
A1001求助
- 2024-6-25 23:00:24 @
[
#include <bits/stdc++.h>
using namespace std;
int main(){
long long a,b,h;
cin >> a >> b >> h;
long long sum = (a + b) * h /2;
cout << sum;
return 0;
}
```](https://)
老师们这道题为什么只有半对啊
1 条评论
-
梓玹 LV 6 @ 2024-7-1 17:23:29
这题的面积需要用double哦~
- 1