提交时间:2024-05-26 09:33:51
运行 ID: 149264
#include <bits/stdc++.h> using namespace std; long long a[51]; int main() { int n; cin >> n; a[0] = 1; for (int i = 1; i <= n; i++) a[i] = 2LL * a[i - 1]; for (int i = n; i >= 1; i--) cout << a[i] << endl; return 0; }