Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
38830 奚晨瑞 判断闰年 C++ Accepted 1 MS 236 KB 165 2024-01-28 17:10:24

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: