Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
125125 黄子轩 判断闰年 C++ Accepted 100 0 MS 252 KB 294 2024-01-23 16:27:05

Tests(12/12):


#include<iostream>//使用cin,cout,必须调用库iostream,否则编译出错 using namespace std; int main() { int a,b; cin>>a; if (a%100==0){ if (a%400==0){ cout<<"Y"; }else{ cout<<"N"; }}else{if (a%4==0){ cout<<"Y"; }else{ cout<<"N"; } } }


Judgement Protocol: