| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 116078 | 晏莞煜 | 12序列的第n项 | C++ | Wrong Answer | 1 MS | 268 KB | 157 | 2025-04-06 10:12:09 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,w=1; cin>>n; for(int q=1,e=0;q<=n;q++ , e++){ w=w+e; } cout<<w; return 0; }
------Input------
5
------Answer-----
7
------Your output-----
11