#include<stdio.h> int main() { double a, b, c; scanf("%lf%lf%lf", &a, &b, &c); printf("%.2lf\n", (a + b) * c / 2); }
同学你这是烟大的oj?