Run ID:87236

提交时间:2024-08-07 19:49:23

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,h; cin>>h>>a>>b; cout<<(a+b)*h/2 return 0; }