View Code of Problem 73

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

Double click to view unformatted code.


Back to problem 73