Run ID:144780

提交时间:2026-01-24 18:43:10

#include<bits/stdc++.h> using namespace std; int main(){ int t,a; scanf("%d", &t); while (t--) { scanf("%d", &a); if(!(a%4)&&a%100||!(a%400))cout<<"Yes"; else cout<<"No"; } return 0;}