Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
75636 sh25_zhuwy 求1+2+3+... C++ 通过 0 MS 240 KB 120 2025-12-08 19:35:09

Tests(1/1):


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


测评信息: