| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150610 | 张蔚林 | 12序列的第n项 | C++ | Wrong Answer | 1 MS | 276 KB | 160 | 2026-03-29 11:50:58 |
#include<bits/stdc++.h> using namespace std; int main() { int i,n,ans; cin>>n; for(i=0;i<n-1;i++) { ans+=i; cout<<ans<<endl; } return 0; }
------Input------
5
------Answer-----
7
------Your output-----
4826992 4826993 4826995 4826998