Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
10471 | 张博涵 | [在线测评解答教程] 闰年 | C++ | Wrong Answer | 0 MS | 244 KB | 238 | 2023-02-25 13:11:31 |
#include<bits/stdc++.h> using namespace std; int main() { int n,t; cin>>t; for(int i=0;i<t;i++){ cin>>n; if(n%4==0&n%100!=0||n%400==0){ cout<<"Yes"; } else cout<<"No"; } return 0; }