| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 129875 | 格林老师 | [在线测评解答教程] 求和 | C++ | Output Limit Exceeded | 1 MS | 268 KB | 164 | 2025-09-06 17:15:05 |
#include <iostream> using namespace std; int main(){ int s,n; while(n!=EOF){ cin>>n; s=n*(n+1)/2; cout<<s; } return 0; }