提交记录 9701
提交时间 |
评测时间 |
2019-07-03 19:23:19 |
2020-08-01 01:46:38 |
#include <cstdio>
char _buf[1000000], *_p1 = _buf, *_p2 = _buf;
inline char gc () {
if (_p1 == _p2) _p2 = (_p1 = _buf) + fread(_buf, 1, 1000000, stdin);
return _p1 == _p2 ? EOF : *(_p1++);
}
template <typename Tp>
inline void read (Tp& x) {
x = 0;
int y = 1;
char c = gc();
while (c < '0' || '9' < c) c == '-' && (y = -1), c = gc();
while ('0' <= c && c <= '9') x = x * 10 + (c ^ 48), c = gc();
x *= y;
}
int main () {
int n, a, b;
read(n);
while(n--) {
read(a), read(b);
printf("%d\n", a + b);
}
return 0;
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 36.36 us | 16 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-11-23 22:59:07 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠