提交时间:2023-01-11 10:47:17
运行 ID: 3857
#include<bits/stdc++.h> using namespace std; int main() { int t; cin>>t; while (t--) { int a; cin>>a; if(a%400==0||a%4==0&&a%100!=0) cout<<"Yes"<<endl; else cout<<"No"<<endl; } return 0; }