Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
20282 周希晨 判断闰年 C++ Accepted 100 0 MS 248 KB 193 2021-06-06 19:22:24

Tests(6/6):


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


Judgement Protocol: