boj step 8 rework
This commit is contained in:
9
zeta_cpp/completed/2903.cpp
Normal file
9
zeta_cpp/completed/2903.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
|
||||
int main() {
|
||||
int n;
|
||||
std::cin >> n;
|
||||
std::cout << (int) pow(((1 << n) + 1), 2);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user