| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158557 | 陈襗葳 | A+B 输入输出练习IV | C++ | Accepted | 1 MS | 196 KB | 209 | 2026-08-22 15:08:52 |
#include <stdio.h> int main(){ int n, sum, x; while(scanf("%d", &n), n){ sum = 0; for(int i = 0; i < n; i++){ scanf("%d", &x); sum += x; } printf("%d\n", sum); } return 0; }