Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
128543 胥博雯 一起找规律 C++ Accepted 0 MS 260 KB 204 2025-08-18 10:55:49

Tests(1/1):


Code:

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