杭电 2096

#include
#include
#include
int main()
{
	int t,a,b,c;
	scanf("%d",&t);
	while(t--)
	{
		scanf("%d%d",&a,&b);
		a=a%100;
		b=b%100;
		c=a+b;
		c=c%100;
		printf("%d\n",c);
	}
	//system("pause");
	return 0;
}

 

转载于:https://www.cnblogs.com/zhangshu/archive/2011/11/29/2268326.html

你可能感兴趣的:(杭电 2096)