0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-30 19:16:28 +00:00

P1244 [NOI2000]青蛙过河

R41025830
This commit is contained in:
Baoshuo Ren 2020-11-01 18:33:39 +08:00 committed by Baoshuo Ren
parent f5644225fc
commit 68f6405516
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

10
problem/P1244/P1244.cpp Normal file
View File

@ -0,0 +1,10 @@
#include <bits/stdc++.h>
using namespace std;
int main() {
int h, k;
cin >> h >> k;
cout << (k + 1) * (1 << h) << endl;
return 0;
}