提交时间:2020-11-27 18:29:58
运行 ID: 10097
#include<bits/stdc++.h> using namespace std; int main(){ doublea,b,h,ans=0; cin>>a>>b>>h; ans=(a+b)*h/2; printf("%.2lf",ans); return 0; }