| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 123907 | 陈国川 | 12序列的第n项 | C++ | Wrong Answer | 0 MS | 268 KB | 142 | 2025-07-10 14:48:08 |
#include<iostream> using namespace std; int main(){ int a=1; int n; cin>>n; for(int i=0;i<=n-1;i++){ a=a+i; } cout<<a; return 0; }
------Input------
5
------Answer-----
7
------Your output-----
11