提交记录 28784
| 提交时间 |
评测时间 |
| 2026-01-03 16:24:05 |
2026-01-03 16:24:08 |
#include<bits/stdc++.h>
using namespace std;
const int SIZE = 1<<14; // 16 KB
char getc()
{
static char buf[SIZE],*begin=buf,*end=buf;
if(begin==end)
{
begin = buf;
end = buf+fread(buf,1,SIZE,stdin);
}
return *begin++;
}
int read()
{
int ret=0,sgn=0,ch=getc();
while(!isdigit(ch)) sgn != ch == '-', ch=getc();
while(isdigit(ch)) ret = ret*10 + ch -'0',ch=getc();
return sgn ? -ret : ret;
}
int main()
{
int n=read();
while(n--)
{
int a=read(),b=read();
printf("%d\n",a+b);
}
return 0;
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 67.6 us | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-01-12 02:05:29 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠