I’m a beginner, just started to solve my first problem in CCSTART2 contest - problem “BUYPLSE”
question link CodeChef: Practical coding for everyone
my solution - #include
using namespace std;
int main() {
int a,x,b,y;
cin >> a >> x >> b >> y;
cout << a * x + b * y;
return 0;
}
Timely reminder to format your code or (better!) link to your submission Also, lol that the “correction” is exactly as wrong as the thing it’s correcting XD