Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
2232 | Duck | [在线测评解答教程] 闰年 | C++ | Wrong Answer | 0 MS | 248 KB | 190 | 2022-12-04 17:34:52 |
#include<bits/stdc++.h> using namespace std; int main() { int year; cin>>year; if(year%4==0&&year%100!=0||year%400==0) { cout<<"No"; } else cout<<"Yes"; return 0; }