2 solutions

  • 1
    @ 2026-1-13 13:08:12

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

    int main() { long long a, b, c; cin >> a >> b >> c; printf("%lld", (a * b * 2) + (a * c * 2) + (b * c * 2)); return 0; }

    • 0
      @ 2026-2-2 12:32:10

      #include <bits/stdc++.h>

      using namespace std; int main() { long long a, b, h; cin >> a >> b >> h; cout << (a * b + a * h + b * h) * 2; return 0; }

      • 1

      Information

      ID
      552
      Time
      1000ms
      Memory
      64MiB
      Difficulty
      4
      Tags
      # Submissions
      180
      Accepted
      82
      Uploaded By