Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
55995 zhangweiran 判断闰年 C++ Accepted 0 MS 248 KB 165 2024-11-08 18:14:18

Tests(1/1):


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


Judgement Protocol: