HDU/2075/main.c
Saturneric 0525ffad24 Add.
2020-09-01 00:48:58 +08:00

15 lines
235 B
C

#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;
}