提交记录 18646


用户 题目 状态 得分 用时 内存 语言 代码长度
12320090913q 1000i. 【传统题】 A+B Problem Accepted 100 61.19 us 40 KB C++ 721 B
提交时间 评测时间
2022-11-12 11:30:22 2022-11-12 11:30:24
#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
#pragma GCC optimize(3)
#pragma GCC optimize("Ofast,unroll-loops")
using namespace std;
char *p1,*p2,buf[1<<16];
#define getchar() (p1==p2 && (p2=(p1=buf)+fread(buf,1,1<<16,stdin),p1==p2)?EOF:*p1++)
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 #161.19 us40 KBAcceptedScore: 100


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