Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
142442 李昱龙 一起找规律 C++ Accepted 0 MS 260 KB 2659 2026-01-10 13:32:31

Tests(1/1):


Code:

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