HDU/2075/main.c

15 lines
235 B
C
Raw Normal View History

2020-08-31 16:48:58 +00:00
#include <stdio.h>
int main(void){
int numbers;
scanf("%d",&numbers);
int i;
for(i = 0; i < numbers; i++){
unsigned long long a,b;
scanf("%llu %llu",&a,&b);
if(!(a%b)) printf("YES\n");
else printf("NO\n");
}
return 0;
}