View Code of Problem 73

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

Double click to view unformatted code.


Back to problem 73