提交记录 5239


用户 题目 状态 得分 用时 内存 语言 代码长度
enceladus 1000. 测测你的 A+B Compile Error 0 0 ns 0 KB C++ 577 B
提交时间 评测时间
2018-08-13 19:57:49 2020-08-01 00:14:15
#include<bits/stdc++.h>
using namespace std;
int a,b;
char getc()
{
	static const int LEN = 1 << 15;
	static char buf[LEN], *S = buf, *T = buf;
	if (S == T)
	{
		T = (S = buf) + fread(buf, 1, LEN, stdin);
		if (S == T) return EOF;
	}
	return *S++;
}

int read()
{
	static char ch;
	static int D;
	while (!isdigit(ch = getc()));
	for (D = ch - '0'; isdigit(ch = getc());)
		D = (D << 3) + (D << 1) + (ch - '0');
	return D;
}
void print(int x)
{
	if(x<0)
	{
		putchar('-');
		x=-x;
	}
	if(x>9)print(x/10);
	putchar(x%10+'0'); 
}
int main(){
	a=read();
	b=read();
	print(a+b);
}


CompilationN/AN/ACompile ErrorScore: N/A


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