#include <iostream>using namespace std; int main() {int a,b = 0;int r;cin >> a;cin >> b;r = (a+b) + (a-b) + (b+a) + (b-a);cin.sync();cout << r; return 0;}
Standard input is empty
2146632184
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!