Run ID:5873

提交时间:2024-12-20 19:19:29

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