func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long int a, b, d, p, q, s, t, r;     cin >> a >> b >> d;     p = a + a + b + b;     q = a + d + b;     s = a + d + d + a;     t = b + d + d + b;     r = min(p, min(q, min(s, t)));     cout << r << endl;     return 0;   }   