Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
39412 fuhaoze 判断闰年 C++ Accepted 1 MS 248 KB 136 2024-02-01 15:14:07

Tests(1/1):


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


Judgement Protocol: