#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,t,s;
scanf("%d",&t);
while(t--){
scanf("%d%d",&a,&b);
a=a%100;
b=b%100;
s=a+b;
s=s%100;
printf("%d\n",s);
}
return 0;
}
每次计算模100就行
水题堆.K - 小明A+B
最新推荐文章于 2025-02-12 15:44:59 发布