40pts 求调
查看原帖
40pts 求调
928147
cirrationaler楼主2024/2/4 10:51
// 分饼干 II
// code by:cq_irritater
// time:2024/01/19
#include <bits/stdc++.h>

using namespace std;

int t, n, k;

void work()
{
    scanf("%d %d", &n, &k);
    if (n % k != 0)
    {
        printf("No");
    }
    else
    {
        printf("Yes");
    }
    return;
}

int main()
{
    // freopen("code.in", "r", stdin);
    scanf("%d", &t);
    while (t--)
    {
        work();
    }
    return 0;
}

2024/2/4 10:51
加载中...