fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main(){
  4. int a, b, c, d;
  5. cin >> a >> b >> c >> d;
  6. int z = (a * b) + (c - d);
  7. cout << z << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
1117019396