提交时间:2025-04-19 16:41:07

运行 ID: 9682

#include <bits/stdc++.h> using namespace std; int main(){ int n,m; cin>>n>>m; if (n>=m){ cout<<n*5+m*3<<endl; } else { cout<<n*5+n*3<<endl; } return 0; }