Răspunsuri

2014-01-22T13:08:08+02:00
{
int a,b;
cin>>a>>b;
if (a>b) cout<<((a*2)+(b*3));
else cout<<((a*3)+(b*2));
return 0;
}