M

柯昊阳  •  1年前


include <bits/stdc++.h>

using namespace std; int main(){

int h,k;
cin>>h>>k;
int ans = 1;
for(int i = 1;i<=h;i++) ans*=2;
cout<<(k+1)*ans<<endl;
return 0;

}


评论: