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