提交记录 19395


用户 题目 状态 得分 用时 内存 语言 代码长度
smyoking 1000i. 【传统题】 A+B Problem Accepted 100 70.36 us 36 KB C++ 382 B
提交时间 评测时间
2023-05-04 13:58:14 2023-05-04 13:58:16
#include<bits/stdc++.h>

#define ll long long

using namespace std;

ll n,a,b;
inline ll read(){
	ll x=0,f=1;
	char s=getchar();
	while (s>'9'||s<'0') {
		if (s=='-') f=-f;
		s=getchar();
	}
	while(s>='0'&&s<='9'){
		x=x*10+s-'0';
		s=getchar();
	}
	return x*f;
}

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

CompilationN/AN/ACompile OKScore: N/A

Testcase #170.36 us36 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2025-09-15 12:55:38 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠