Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
45814 fuhaoze [在线测评解答教程] 闰年 C++ Accepted 1 MS 252 KB 256 2024-04-20 12:31:09

Tests(11/11):


#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; }


Judgement Protocol: