| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 46436 | 杨中琦 | 梯形的面积 | C++ | Accepted | 100 | 0 MS | 256 KB | 151 | 2022-07-13 13:17:18 |
#include<bits/stdc++.h> using namespace std; int main(){ double a,b,h,ans=0; cin>>a>>b>>h; ans=(a+b)*h/2; printf("%.2lf",ans); return 0; }