提交时间:2020-07-31 19:21:41
运行 ID: 5362
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,h,ans; cin>>a>>b>>h; ans=(a+b)*h/2; printf("%.2lf",ans); return 0; }