Raslboyy

bitA

Oct 1st, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 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 n;
  11.     fin >> n; fout << (1 << n) << endl;
  12.  
  13.     fin.close();
  14.     fout.close();
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment