提交记录 7722


用户 题目 状态 得分 用时 内存 语言 代码长度
zhou2003 1000i. 【传统题】 A+B Problem Accepted 100 70.82 us 36 KB C++ 580 B
提交时间 评测时间
2019-01-25 09:33:41 2020-08-01 01:07:41
#include<iostream>
#include<string.h>
#include<string>
#include<stdio.h>
#include<algorithm>
#include<math.h>
#include<vector>
#include<queue>
#include<map>
using namespace std;
const int maxd=1000000007,N=100000;
const double pi=acos(-1.0);
typedef long long ll;

int read()
{
	int x=0,f=1;char ch=getchar();
	while ((ch<'0') || (ch>'9')) {if (ch=='-') f=-1;ch=getchar();}
	while ((ch>='0') && (ch<='9')) {x=x*10+(ch-'0');ch=getchar();}
	return x*f;
}

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

CompilationN/AN/ACompile OKScore: N/A

Testcase #170.82 us36 KBAcceptedScore: 100


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