Run ID:65759

提交时间:2024-02-09 18:35:18

#include <iostream> using namespace std; int main() { int t, n; cin >> t; int i = 0; while (i < t) { cin >> n; if (n % 400 == 0 || n % 4 == 0) { cout << "YES" << endl; } else { cout << "NO" << endl; } i++; } return 0; }