2 条题解

  • 3
    @ 2026-6-12 21:09:35

    #include <bits/stdc++.h> using namespace std;

    int main() { double a, b, h; scanf("%lf %lf %lf", &a, &b, &h); printf("%.1lf", (a + b) / 2 * h); return 0; }

    • -2
      @ 2026-6-10 21:20:42

      #include using namespace std;

      int main() { int m, n, s; cin >> m >> n >> s; cout << m * (s / n); return 0; }

      • 1

      信息

      ID
      30318
      时间
      1000ms
      内存
      256MiB
      难度
      4
      标签
      递交数
      92
      已通过
      44
      上传者