fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. long long x,y,result1,result2,result3;
  5. cin >> x >> y;
  6. result1 = x+y;
  7. result2 = x*y;
  8. result3 = x-y;
  9. cout << "x + y= "<<result1 <<endl<<"x * y= "<< result2 <<endl<<"x - y= "<< result3;
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
x + y= 93872237400768
x * y= 0
x - y= -93872237400768