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; }

    Information

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