#include<bits/stdc++.h> using namespace std; int n[5]; int main(){ ios::sync_with_stdio(false); cin.tie(0); cin>>n[1]>>n[2]>>n[3]>>n[4]; sort(n+1,n+1+4,greater<int>()); cout<<n[2]*2+n[4]*2; return 0; }
使用您的 Hydro 通用账户