题解 | 小美的因子查询
#include <iostream>
using namespace std;
int main() {
int t, x;
cin >> t;
for(int i = 0; i < t; i++){
cin >> x;
if(x%2==0)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
return 0;
}
// 64 位输出请用 printf("%lld")
查看8道真题和解析
文远知行公司福利 509人发布