#include<iostream>
using namespace std;
int main()
{
int t;
while (cin >> t)
{
int a, b;
while (t--&&cin >> a >> b)
if (a%b == 0)
cout << "YES" << endl;
else cout << "NO" << endl;
}
return 0;
}
2075 A|B?
最新推荐文章于 2020-04-29 22:18:27 发布