Tanky WooRSS

HDOJ 2075 A|B?

31 Jul 2010
这篇博客是从旧博客 WordPress 迁移过来,内容可能存在转换异常。

题目地址: http://acm.hdu.edu.cn/showproblem.php?pid=2075

=。=居然被题目吓住了~~~~ 结果就是水过就可以了~~~~

 // Tanky Woo
// HDOJ 2075

#include 
#include 
using namespace std;

int main()
{
    __int64 a, b;
    int nCases;
    scanf("%d", &nCases;);
    while(nCases--)
    {
        scanf("%I64d %I64d", &a;, &b;);
        if(a%b == 0)
            printf("YES\n");
        else
            printf("NO\n");
    }
    return 0;
}