Raslboyy

BitH

Oct 1st, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7.     ifstream fin("input.txt");
  8.     ofstream fout("output.txt");
  9.  
  10.     int a, n;
  11.     fin >> a >> n;
  12.     fout << ((a >> n) << n) << endl;
  13.  
  14.     fin.close();
  15.     fout.close();
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment