提交时间:2024-11-01 15:06:07
运行 ID: 54934
#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; }