提交记录 9887


用户 题目 状态 得分 用时 内存 语言 代码长度
BillZhou233 1000i. 【传统题】 A+B Problem Accepted 100 33.99 us 12 KB C++ 392 B
提交时间 评测时间
2019-07-19 20:12:18 2020-08-01 01:58:11
#include <cstdio>
using namespace std;

inline long long inp()
{
    long long ret=0,f=1;char ch=getchar();
    while (ch<'0'||ch>'9') {if (ch=='-') f=-f;ch=getchar();}
    while (ch>='0'&&ch<='9') ret=ret*10+ch-'0',ch=getchar();
    return ret*f;
}

int main()
{
	long long a,b,x;
	x=inp();
	for (register long long i=0;i<x;++i)
	{
		a=inp(); b=inp();
		printf("%lld\n",a+b);
	}
	return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #133.99 us12 KBAcceptedScore: 100


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