提交记录 27464
用户 | 题目 | 状态 | 得分 | 用时 | 内存 | 语言 | 代码长度 |
---|---|---|---|---|---|---|---|
Saisyc | 1000i. 【传统题】 A+B Problem | Accepted | 100 | 41.42 us | 16 KB | C | 251 B |
提交时间 | 评测时间 |
---|---|
2024-12-06 02:59:25 | 2024-12-06 02:59:27 |
# include <stdio.h>
int main() {
int n;
scanf("%d", &n);
for (int i = 1; i <= n; i++) {
int a, b;
scanf("%d%d", &a, &b);
int c = a + b;
if (c < 10) {
printf("%d\n", c);
} else {
printf("%d%d\n", c / 10, c % 10);
}
}
return 0;
}
Judge Duck Online | 评测鸭在线
Server Time: 2025-04-20 09:37:23 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠