题解 | #小美的因子查询#
小美的因子查询
https://www.nowcoder.com/practice/1870e68256794c6aa727c8bb71fd9737
#include <cmath> #include <iostream> using namespace std; int main() { int n; cin >> n; while(n --){ int x; cin >> x; cout << (x % 2 ? "NO" : "YES") << endl; } }