Run ID:69423
提交时间:2024-04-03 22:42:30
#include <iostream> using namespace std; int main(){ int t; cin >> t; while(t--){ int b; cin >> b; if((b%400 == 0) || (b%100 != 0 && b%4 == 0)) cout << "Yes" << endl; else cout << "No" << endl; } return 0; }