Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
14973 Al. 闰年 C++ 通过 0 MS 256 KB 252 2022-12-09 20:04:47

Tests(11/11):


#include<bits/stdc++.h> using namespace std; int main(){ int t,n; cin>>t; while(t--){ cin>>n; if(n%4==0&&n%100!=0){ cout<<"Yes"<<endl; } else if(n%400==0){ cout<<"Yes"<<endl; } else cout<<"No"<<endl; } return 0; }


测评信息: