NOJ/33/main.c

15 lines
204 B
C
Raw Normal View History

2020-08-31 16:46:43 +00:00
#include <stdio.h>
int main(void){
int a,b,number;
scanf("%d",&number);
int i;
for(i = 0; i< number; i++){
scanf("%d %d",&a,&b);
a %= 100;
b %= 100;
printf("%d\n",(a+b)%100);
}
return 0;
}