View Code of Problem 115

#include  <stdio.h>
#include  <stdlib.h>
#include  <math.h>
#include  <string.h>

int main()
{
	int n;
	double s,area;
	
	while(scanf("%d",&n)==1)
	{
		printf("%d %d\n",(int)pow(2,n)-1,100000*n);
	}

	
	
	return 0;
}

Double click to view unformatted code.


Back to problem 115