Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
443806 任虞昊 [在线测评解答教程] 求和 C++ Accepted 100 1 MS 184 KB 126 2026-06-06 22:07:00

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: