提交记录 8486
提交时间 |
评测时间 |
2019-02-19 14:35:30 |
2020-08-01 01:19:45 |
#include <stdio.h>
#include<cctype>
int qread()
{
int ans=0;char c=getchar();int b=1;
while(!isdigit(c)) {if(c=='-') b=-1;c=getchar();}
while(isdigit(c)) {if(c=='-') b=-1;ans=ans*10+c-'0',c=getchar();}
return ans*b;
}
void write(int num)
{
if(num<0) putchar('-'),write(-num);
else
{
if(num>=10) write(num/10);
putchar('0'+num%10);
}
}
int main() {
int n=qread();
while(n--)
{
int a=qread(),b=qread();
write(a+b);putchar('\n');
}
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 22.86 us | 12 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-11-23 23:18:02 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠