提交记录 10118
| 提交时间 |
评测时间 |
| 2019-08-13 18:06:21 |
2020-08-01 02:01:38 |
#include <stdio.h>
struct IO {
char ibuf[8192], *ips = ibuf + 8192, obuf[8192], *ops = obuf;
int getchar() {if (ips == ibuf + 8192) fread(ips = ibuf, 1, 8192, stdin); return *ips ++;}
void putchar(int c) {if (ops == obuf + 8192) fwrite(ops = obuf, 1, 8192, stdout); *ops ++ = c;}
~IO() {fwrite(obuf, 1, ops - obuf, stdout);}
} io;
#define getchar io.getchar
#define putchar io.putchar
inline int read() {
register int x = 0, f = 1, c = getchar();
while (c <= 32) c = getchar();
if (c == '-') f = 0, c = getchar();
while (c > 32) (x = (x << 3) + (x << 1)) += c & 15, c = getchar();
return f ? x : -x;
}
inline void write(register int x) {
char stk[20], *ps = stk;
if (x < 0) putchar('-'), x = -x;
if (!x) putchar('0');
while (x) *ps ++ = x % 10 + '0', x /= 10;
while (ps != stk) putchar(*-- ps);
}
int main() {
int n = read();
while (n --) write(read() + read()), putchar(10);
return 0;
}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-30 03:09:06 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠