| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137160 | 岑思烁 | 12序列的第n项 | C++ | Wrong Answer | 1 MS | 272 KB | 153 | 2025-11-16 12:20:14 |
#include<bits/stdc++.h> using namespace std; int main(){ int n=1,a=2; cin>>n; for(int i=0;i<n-1;i++){ a=a+i; cout<<a; } return 0; }
------Input------
5
------Answer-----
7
------Your output-----
2358