提交记录 6848
提交时间 |
评测时间 |
2018-11-08 15:21:51 |
2020-08-01 00:50:47 |
#include<cstdio>
inline int read()
{
char c;
bool f=false;
for (;(c=getchar())!=EOF&&(c<'0'||c>'9');) if (c=='-') f=true;
int num=c-'0';
for (;(c=getchar())!=EOF&&(c>='0'&&c<='9');) num=num*10+c-'0';
return f?-num:num;
}
int main()
{
// freopen("test.txt","r",stdin);
// freopen("test.out","w",stdout);
int a,b,n;
n=read();
for (int i=1;i<=n;i++)
{
a=read();b=read();
printf ("%d\n",a+b);
}
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 37.96 us | 12 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-11-23 23:09:26 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠