提交记录 18644


用户 题目 状态 得分 用时 内存 语言 代码长度
12320090913q 1000i. 【传统题】 A+B Problem Accepted 100 69.83 us 36 KB C++ 543 B
提交时间 评测时间
2022-11-12 11:27:51 2022-11-12 11:27:54
#include<bits/stdc++.h>
#define f(i,l,r) for(register int i=l;i<=r;++i)
#define F(i,r,l) for(register int i=r;i>=l;--i)
#define LL long long
#define ULL unsigned long long
using namespace std;
inline int read(){
	int x=0,ty=1;
	char c=getchar();
	while(!isdigit(c)){
		if(c=='-')
			ty=-1;
		c=getchar();
	}
	while(isdigit(c))
		x=10*x+c-'0',c=getchar();
	return x*ty;
}
int write(int x){
	if(x<0)
		putchar('-');
	write(x/10);	
	if(x<10)
		putchar('0'+x%10);
}
int main(){
	for(int n=read();n--;)
		printf("%d\n",read()+read());
	return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #169.83 us36 KBAcceptedScore: 100


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