View Code of Problem 73

#include <stdio.h>
int main(){
  int n,i;
  scanf("%d",&n);
  int m=1;
  for(i=n-2;i>=0;i--){
    m=(1+m)*2;
  }
  printf("%d\n",m);
  
  
  
  
  return 0;
}

Double click to view unformatted code.


Back to problem 73