| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 142957 | 冯祥瑞 | 02计算(a+b)/c | C++ | Accepted | 0 MS | 208 KB | 257 | 2026-01-11 17:22:31 |
#include <stdio.h> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); if (c == 0) { printf("Error: Division by zero\n"); return 1; } int result = (a + b) / c; printf("%d\n", result); return 0; }