Advertisement
Sajib_Ahmed

Untitled

Jun 15th, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int n;
  7.      cin>>n;
  8.     if(n%2==0)
  9.     {
  10.         cout<<(1<<n/2);
  11.     }
  12.  
  13.     else
  14.     {
  15.         cout<<0<<endl;
  16.     }
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement