提交记录 6848


用户 题目 状态 得分 用时 内存 语言 代码长度
leifeng_ 1000i. 【传统题】 A+B Problem Accepted 100 37.96 us 12 KB C++ 410 B
提交时间 评测时间
2018-11-08 15:21:51 2020-08-01 00:50:47
#include<cstdio>



inline int read()
{
	char c;
	bool f=false;
	for (;(c=getchar())!=EOF&&(c<'0'||c>'9');)	if (c=='-')	f=true;
	int num=c-'0';
	for (;(c=getchar())!=EOF&&(c>='0'&&c<='9');)	num=num*10+c-'0';
	return f?-num:num;
}
int main()
{
//	freopen("test.txt","r",stdin);
//	freopen("test.out","w",stdout);
	int a,b,n;
	n=read();
	for (int i=1;i<=n;i++)
	{
		a=read();b=read();
		printf ("%d\n",a+b);
	}
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #137.96 us12 KBAcceptedScore: 100


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