Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5195 贺昱翔 梯形的面积 C++ 通过 100 0 MS 252 KB 134 2020-07-28 11:09:27

Tests(5/5):


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


测评信息: