Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
356012 任晨熙 [在线测评解答教程] 求和 C++ Accepted 100 3 MS 192 KB 126 2025-10-12 18:33:39

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: