Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92986 | 李浩源 | [在线测评解答教程] 闰年 | C++ | Wrong Answer | 1 MS | 268 KB | 223 | 2024-10-07 15:20:02 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a; for(int i=1;i<=a;i++){ cin>>b; if(b%4==0 && b%100!=0 || b%400==0 ){ cout<<"Yes"; }else{ cout<<"No"; } } }
------Input------
2 2023 3059
------Answer-----
No No
------Your output-----
NoNo