| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 152701 | 田子熙 | 数列求和 | C++ | Wrong Answer | 1 MS | 272 KB | 176 | 2026-05-01 16:25:41 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,s=1,m=0; cin>>n; for(int i=1;i<=n;i++){ m+=s; s*=2; } cout<<m; return 0; }
------Input------
40
------Answer-----
1099511627775
------Your output-----
-1