Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
77777 sh25_shengmy 判断闰年 C++ 通过 0 MS 252 KB 351 2025-12-26 14:47:25

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%4==0){ if(a%100==0){ if(a%400==0){ cout<<"Y"; }else{ cout<<"N"; } }else{ cout<<"Y"; } }else{ cout<<"N"; } return 0; }


测评信息: