| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 130798 | 李亭绪 | 12序列的第n项 | C++ | Wrong Answer | 1 MS | 264 KB | 154 | 2025-09-17 19:07:30 |
#include<iostream> // cin\cout\endl using namespace std; int main(){ int a,b; a=1; cin>>b; for(int i;i<=b;i++) { a+=i; } cout<<a; return 0; }
------Input------
5
------Answer-----
7
------Your output-----
1