提交记录 9893


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

template<class T>void read(T &x)
{
    x=0;long long f=0;char ch=getchar();
    while(ch<'0'||ch>'9')  {f|=(ch=='-');ch=getchar();}
    while(ch>='0'&&ch<='9'){x=(x<<1)+(x<<3)+(ch^48);ch=getchar();}
    x=f?-x:x;
    return;
}

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

CompilationN/AN/ACompile OKScore: N/A

Testcase #132.77 us12 KBAcceptedScore: 100


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