4 条题解
信息
- ID
- 7
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 5
- 标签
- 递交数
- 356
- 已通过
- 144
- 上传者
#include<bits/stdc++.h> using namespace std; int main() { int a,b,h;double s; cin>>a>>b>>h; s=(a+b)*h/2.00; cout<<fixed<<setprecision(2)<<s; return 0; }
注册一个 PYYG 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。