| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 123904 | 陈华仁星 | 12序列的第n项 | C++ | Wrong Answer | 1 MS | 204 KB | 168 | 2025-07-10 14:46:01 |
#include <cstdio> using namespace std; int main() { int a=1; int n; scanf("%d",&n); for(int i=0;i<=n-1;i++) { a+=i; } printf("%d",a); return 0; }
------Input------
5
------Answer-----
7
------Your output-----
11