Run ID:152725

提交时间:2026-05-01 20:55:16

#include <iostream> using namespace std; int main() { int n; int f = 1; cin >> n; if (n == 1) { cout << 1 << endl; return 0; } for (int i = 2; i <= n; i++) { f *= 2; } cout << f << endl; return 0; }