题解 | #小美的因子查询#
小美的因子查询
https://www.nowcoder.com/practice/1870e68256794c6aa727c8bb71fd9737
#include <iostream> using namespace std; int main() { int _; cin>>_; while(_--){ int x; cin>>x; cout<<(x%2?"NO":"YES")<<'\n'; } } // 64 位输出请用 printf("%lld")
只有是偶数才会有偶数因子