Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5198 张熙媛 梯形的面积 C++ 通过 100 0 MS 256 KB 144 2020-07-28 11:11:35

Tests(5/5):


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


测评信息: