Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
90533 张永良 一起找规律 C++ Accepted 1 MS 264 KB 166 2024-09-15 14:25:39

Tests(1/1):


Code:

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