Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
28502 惠子铭 [在线测评解答教程] 求和 C++ Accepted 0 MS 244 KB 136 2023-10-14 21:39:32

Tests(10/10):


#include<iostream> using namespace std; int main(){ int n; while (scanf("%d",&n) !=EOF) printf("%d\n",(n+1)*n/2); return 0; }


Judgement Protocol: