提交时间:2023-01-13 19:17:05
运行 ID: 4990
#include<bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; while(t--){ int n; cin>>n; if(n%4!=0)cout<<"No\n"; else if(n%100!=0)cout<<"Yes\n"; else if(n%400!=0)cout<<"No\n"; else cout<<"Yes\n"; } }