My issue
answer is correct but still showing error
My code
#include <iostream>
using namespace std;
int main() {
// your code goes here
int c,x,y;
cin>>c>>x>>y;
cout<<(x*(c-y))<<endl;
}
Learning course: Learn Programming and Problem Solving using C++
Problem Link: https://www.codechef.com/learn/course/sit-cpp-fall/SITFALL28/problems/CPPFALL166