提交记录 10857


用户 题目 状态 得分 用时 内存 语言 代码长度
denverjin 1000i. 【传统题】 A+B Problem Time Limit Exceeded 0 1 ms 16 KB C++ 485 B
提交时间 评测时间
2019-10-05 20:59:44 2020-08-01 02:33:05
#include <cstdio>

char ibuf[8192], *ied = ibuf + 8192, *ips = ied;
#define gc() ips == ied && (ied = (ips = ibuf) + fread(ibuf, 1, 8192, stdin), ips == ied) ? EOF : *ips ++
void read(int & x) {
	x = 0; bool f = 0; char c = gc();
	while (c < '0' || c > '9') {f |= c == '-'; c = gc();}
	while (c >= '0' && c <= '9') {(x = (x << 3) + (x << 1)) += c & 15; c = gc();}
	x = f ? x : -x;
}

main() {
	int n; read(n);
	while (n --) {
		int a, b; read(a); read(b);
		printf("%d\n", a + b);
	}
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #11 ms16 KBTime Limit ExceededScore: 0


Judge Duck Online | 评测鸭在线
Server Time: 2026-03-28 19:52:43 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠