#include<stdio.h>
int main()
{
int t;
int a,b;
scanf("%d",&t);
while(t--)
{
scanf("%d%d",&a,&b);
a=a%100;
b=b%100;
printf("%d\n",(a+b)%100);
}
return 0;
}
hdu 2096 小明A+B
最新推荐文章于 2019-11-06 22:37:37 发布
#include<stdio.h>
int main()
{
int t;
int a,b;
scanf("%d",&t);
while(t--)
{
scanf("%d%d",&a,&b);
a=a%100;
b=b%100;
printf("%d\n",(a+b)%100);
}
return 0;
}