Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
159110 王垚植 求梯形的面积 C++ Wrong Answer 0 MS 276 KB 142 2026-08-25 20:31:23

Tests(0/1):


Code:

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


Run Info:

------Input------
3 1 2
------Answer-----
4.50
------Your output-----
0.00