HDU-2075 A|B?
HDU-2075 A|B?

代码

#include <iostream>

using namespace std;

int main() {

	int T;
	cin>>T;
	for(int i=0; i<T; i++) {
		int A, B;
		cin>>A>>B;
		if(A%B==0){
			cout<<"YES"<<endl;
		}
		else{
			cout<<"NO"<<endl;
		}
	}

	return 0;
}

注解

1、水题,没的说。

结果

HDU-2075 A|B?

相关文章:

  • 2021-07-31
  • 2021-06-02
  • 2021-06-01
  • 2021-10-10
  • 2021-06-22
  • 2021-05-18
  • 2021-11-14
  • 2021-05-30
猜你喜欢
  • 2021-10-07
  • 2021-08-01
  • 2021-07-22
  • 2021-05-23
  • 2021-07-03
  • 2021-06-05
  • 2021-06-08
相关资源
相似解决方案