1 #include<stdio.h> 2 3 int main() 4 { 5 int n,a,b; 6 while(~scanf("%d",&n)) 7 { 8 while(n--) 9 { 10 scanf("%d%d",&a,&b); 11 a%=100; 12 b%=100; 13 printf("%d\n",(a+b)%100); 14 } 15 } 16 }