View Code of Problem 115

#include<stdio.h>
#include<math.h>
void main()
{
	int n;
	while(scanf("%d",&n)!=EOF)
	{
		printf("%d %d\n",-(1-(int)pow((double)2,(double)n)),100000*n);
	}
}

Double click to view unformatted code.


Back to problem 115