P10518 题解

· · 题解

思路

# 代码 ```cpp #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; cout<<a+b+c*2+d*3; } ```