View Code of Problem 115

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n;
	while(cin>>n){
		cout<<(long long)pow(2,n)-1<<' '<<n*100000<<endl;
	}
}

Double click to view unformatted code.


Back to problem 115