Run ID:95059

提交时间:2024-10-26 17:25:39

#include<bits/stdc++.h> using namespace std; int main() { int n=1,x=1; for(int a=2;i<=30;i++){ x=x*2; n=n+x; cout<<n<<" "; } return 0; }