Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
339107 李明灿 【C1-3】求和 C++ Accepted 100 2 MS 240 KB 118 2025-08-10 21:05:49

Tests(3/3):


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


Judgement Protocol: