Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
368926 许安哲 [在线测评解答教程] 求和 C++ Accepted 100 5 MS 184 KB 126 2025-12-18 16:45:02

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: