Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
152495 赵奕杰 一起找规律 C++ Accepted 0 MS 268 KB 157 2026-04-26 14:34:25

Tests(1/1):


Code:

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