提交记录 6719


用户 题目 状态 得分 用时 内存 语言 代码长度
WJP_The_Waterest 1000i. 【传统题】 A+B Problem Compile Error 0 0 ns 0 KB C++ 580 B
提交时间 评测时间
2018-11-04 13:54:11 2020-08-01 00:48:49
#include<bits/stdc++.h>
#define F(i,j,k) for(int i=j;i<=k;i++)
using namespace std;
template<typename T> inline void read(T &n){
	int w=1;n=0;char ch=getchar();
	while(!isdigit(ch)&&ch!=EOF){if(ch=='-')w=-1;ch=getchar();}
	while(isdigit(ch)&&ch!=EOF){n=(n<<3)+(n<<1)+int(ch)-48;ch=getchar();}
	n*=w;
}
template<typename T>inline void write(T x){
	if(x<0){x=-x;putchar('-');}
	if(x>9)write(x/10);
	putchar(x%10+48);
}
template<typename T>inline void writeln(T x){
	write(x);
	puts("");
}
int main() {
	int n,x,y;read(n);
        F(i,1,n){read(x);read(y);writeln(x+y)}
	return 0;
}

CompilationN/AN/ACompile ErrorScore: N/A


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