mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 23:48:48 +00:00
P1244 [NOI2000]青蛙过河
R41025830
This commit is contained in:
parent
f5644225fc
commit
68f6405516
10
problem/P1244/P1244.cpp
Normal file
10
problem/P1244/P1244.cpp
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user