Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
101060 | 何睿函 | 13分苹果 | C++ | Wrong Answer | 1 MS | 272 KB | 157 | 2024-12-14 13:22:03 |
#include<bits/stdc++.h> using namespace std; int main(){ int a=1; int n;cin>>n; for(int i=1;i<=n;i++){ a=a+i; } cout<<a<<" "; return 0; }
------Input------
55
------Answer-----
1540
------Your output-----
1541