提交时间:2024-05-07 18:44:33

运行 ID: 146105

#include<bits/stdc++.h> long long a[55]; using namespace std; int main() { int n; cin>>n; a[0]=2; for (int i=1;i<=50;i++) a[i]=a[i-1]*2; for (int i=n-1;i>=0;i--) cout<<a[i]<<endl; return 0; }