提交记录 9698


用户 题目 状态 得分 用时 内存 语言 代码长度
sys_con 1000i. 【传统题】 A+B Problem Wrong Answer 0 10.35 us 16 KB C++ 496 B
提交时间 评测时间
2019-07-03 19:13:00 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 a, b;
	read(a), read(b);
	printf("%d\n", a + b);
	return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #110.35 us16 KBWrong AnswerScore: 0


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