Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
92987 吴彦晓 [在线测评解答教程] 闰年 C++ Wrong Answer 1 MS 272 KB 221 2024-10-07 15:20:11

Tests(0/11):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int n,y; cin>>n; for(int i=1;i<=n;i++){ cin>>y; if(y%4==0&&y%100!=0||y%400==0){ cout<<"yes"<<endl; }else{ cout<<"no"<<endl; } } }


Run Info:

------Input------
2 2023 3059
------Answer-----
No No
------Your output-----
no no