Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85360 王陈淼 一起找规律 C++ Accepted 1 MS 260 KB 168 2024-07-17 10:42:40

Tests(1/1):


Code:

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