aboutsummaryrefslogtreecommitdiff
path: root/01_introductory_problems/bit_strings_1617.cpp
blob: 6be46ac557f96e9b6d6970480208c8473974e153 (plain)
1
2
3
4
5
6
7
8
9
10
#include <iostream>

int main() {
	constexpr long long M = 1e9+7;
	long long n, a{1};
	std::cin >> n;
	while (--n >= 0)
		a = (a * 2) % M;
	std::cout << a << std::endl;
}

Generated with cgit - Back to sebastiano.tronto.net