| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137158 | 万麟峰 | 12序列的第n项 | C++ | Wrong Answer | 1 MS | 264 KB | 438 | 2025-11-16 12:19:43 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,a; cin>>n; for(int i=0;i<n-1;i++) a=a+i; cout<<a; return 0; }
------Input------
5
------Answer-----
7
------Your output-----
4195070