Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
33494 马若兮 判断闰年 C++ Accepted 0 MS 240 KB 215 2023-12-09 19:10:46

Tests(1/1):


#include<iostream> using namespace std; int main(){ int a; cin>>a; if(a%4==0 && a%100!=0){ cout<<"yes"; } else if(a%4==0 && a%400==0){ cout<<"yes"; } else{ cout<<"no"; } return 0; }


Judgement Protocol: