#include<stdio.h>
#include<string.h>
#include<stdlib.h>
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;
}

 

posted on 2011-11-29 21:51  枫叶飘泪  阅读(315)  评论(0编辑  收藏  举报