Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
1875 杨洋杰 一起找规律 C++ Accepted 0 MS 264 KB 186 2023-11-25 18:33:04

Tests(1/1):


Code:

#include<iostream> #include<cmath> using namespace std; int main(){ int b=1; for(int i=1;i<=30;i++){ cout<<b<<" "; b=b+pow(2.0,i); } return 0; }