提交记录 6719
| 提交时间 |
评测时间 |
| 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;
}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-09 15:34:15 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠