fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4.  
  5. int A,B,C,D;
  6. cin>>A>>B>>C>>D;
  7. cout<<"DIFERENCA= " <<(A*B-C*D);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0.01s 5424KB
stdin
5
6
7
8
stdout
DIFERENCA= -26