Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147171 王晏林 一起找规律 C++ Accepted 0 MS 256 KB 175 2026-02-03 11:56:42

Tests(1/1):


Code:

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