提交记录 18646
| 提交时间 |
评测时间 |
| 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;
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 61.19 us | 40 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-15 16:34:36 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠