欢迎使用CSDN-markdown编辑器

来源:互联网 发布:linux shell的expect 编辑:程序博客网 时间:2024/05/18 11:28

hdoj2075A是否整除B

岂止于水~
注意格式,留给学弟学妹参考#~#

#include<stdio.h>int main(){    int t;    scanf("%d",&t);    int a,b;    while(t--){        scanf("%d%d",&a,&b);        if(a%b!=0)          printf("NO\n");        else          printf("YES\n");    }    return 0;} 
0 0