AlexandruT

[pbInfo] triplul

Nov 4th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.12 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.   int x, y;
  8.   cin >> x >> y;
  9.   cout << 3 * y - x;
  10.   return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment