Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
12209 徐一喆 求梯形的面积 C++ Accepted 0 MS 812 KB 144 2021-05-20 12:05:06

Tests(1/1):


Code:

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