vlatkovski

Koalicija (ne im raboti tamu ama tocno e)

Jun 14th, 2017
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.13 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5.     int n; cin >> n;
  6.     long long s = pow(2,n+1) - 2;
  7.     cout << s;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment