Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
338556 陈信宇 [在线测评解答教程] 求和 C++ Accepted 100 4 MS 192 KB 126 2025-08-07 16:52:36

Tests(10/10):


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


Judgement Protocol: