| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 128545 | 石水生 | 一起找规律 | C++ | Wrong Answer | 1 MS | 280 KB | 157 | 2025-08-18 11:40:50 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; for(int i=1;i<=30;i++){ n=n+pow(2,i+1-2); cout<<n<<" "; } return 0; }
------Input------
0
------Answer-----
1 3 7 15 31 63 127 255 511 1023 2047 4095 8191 16383 32767 65535 131071 262143 524287 1048575 2097151 4194303 8388607 16777215 33554431 67108863 134217727 268435455 536870911 1073741823
------Your output-----
4195113 4195115 4195119 4195127 4195143 4195175 4195239 4195367 4195623 4196135 4197159 4199207 4203303 4211495 4227879 4260647 4326183 4457255 4719399 5243687 6292263 8389415 12583719 20972327 37749543 71303975 138412839 272630567 541066023 1077936935