Run ID:99555
提交时间:2024-11-30 11:40:40
Run ID:99462 提交时间:2024-11-29 18:34:25 #include <iostream> using namespace std; int main() { const int n = 30; long long s = 1; long long p = 2; for (int i = 0; i < n; ++i) { cout << s << " "; s += p; p*= 2; } cout << endl; return 0; }