Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
87240 黄睿杰 求梯形的面积 C++ Accepted 1 MS 272 KB 134 2024-08-07 19:52:48

Tests(1/1):


Code:

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