Run ID:65761

提交时间:2024-02-09 18:47:38

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