提交记录 4581
提交时间 |
评测时间 |
2018-07-25 15:40:24 |
2020-07-31 23:08:12 |
#include <stdio.h>
#include<cctype>
#define gt gc()
inline char gc()
{
static char buf[100005],*p1=buf,*p2=buf;
return p1==p2&&(p2=(p1=buf)+fread(buf,1,100000,stdin))?EOF:*p1++;
}
inline int in()
{
int k=0,p=1;char ch=gt;
while(!isdigit(ch)&&ch!='-')ch=gt;
if(ch=='-')ch=gt,p=0;
while(isdigit(ch))k=k*10+ch-'0',ch=gt;
return p?k:-k;
}
int main() {
int n;
n=in();
for (int i = 1; i <= n; i++) {
printf("%d\n",in()+in());
}
return 0;
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 36.4 us | 20 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-11-23 23:14:00 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠