Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
331596 沈泽宇 [在线测评解答教程] 求和 C++ 通过 100 4 MS 244 KB 121 2025-07-12 10:21:49

Tests(10/10):


#include<bits/stdc++.h> using namespace std; int main(){ int x; while(cin>>x) cout<<(x+1)*x/2<<endl; return 0; }


测评信息: