提交记录 10037


用户 题目 状态 得分 用时 内存 语言 代码长度
luositing 1000i. 【传统题】 A+B Problem Accepted 100 20.23 us 12 KB C++ 480 B
提交时间 评测时间
2019-08-08 19:36:58 2020-08-01 02:00:34
#include <cstdio>
#include <cctype>
inline int read()
{
	int ans=0,f=1;
	char c=getchar();
	while (c<'0'||c>'9')
	{
		if (c=='-') f=-1;
		c=getchar();
	}
	while (c>='0'&&c<='9') 
	{
		ans=(ans<<3)+(ans<<1)+(c^48);
		c=getchar();
	}
	return f*ans;
}
void write(int x)
{
	if (x<0) putchar('-'),x=-x;
	if (x<10) return (void)putchar(x^48);
	int t=x/10;
	write(t),putchar((x-(t<<3)-(t<<1))^48);
}
int main()
{
	for (int i=read();i;--i) write(read()+read()),putchar('\n');
	return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #120.23 us12 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2024-04-20 09:37:58 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用