fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long long a, b, c, d;
  6. cin >> a;
  7. cin >> b;
  8. cin >> c;
  9. cin >> d;
  10. a = 5;
  11. b = 6;
  12. c = 4;
  13. d = 9;
  14. cout << (a+d)*c-b;
  15.  
  16.  
  17. return 0;
  18. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
50