| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159111 | 王垚植 | 求梯形的面积 | C++ | Wrong Answer | 1 MS | 268 KB | 163 | 2026-08-25 20:32:38 |
#include<bits/stdc++.h> using namespace std; int main(){ int h,a,b; double s; cin>>h>>a>>b; s=h/2*a*b; printf("%.2lf",s); return 0; }
------Input------
3 1 2
------Answer-----
4.50
------Your output-----
2.00