提交记录 28350
提交时间 |
评测时间 |
2025-07-17 11:36:02 |
2025-07-17 11:36:04 |
#include <stdio.h>
inline int read() {
int w = 0, f = 1;
char x = getchar();
while(x < '0' || x > '9') {
if(x == '-') f = -1;
x = getchar();
}
while(x >= '0' && x <= '9') {
w = w * 10 + x - '0';
x = getchar();
}
return w * f;
}
void write(int x) {
if(x < 0) putchar('-'), x = -x;
if(x < 10) putchar(x + '0');
else {
write(x / 10);
putchar(x % 10 + '0');
}
}
int T;
int a, b;
int main() {
T = read();
while(T--) {
a = read(), b = read();
write(a + b);
puts("");
}
return 0;
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 26.37 us | 12 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2025-08-13 13:34:30 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠