Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
72665 sh25_zhuwy 判断闰年 C++ 通过 1 MS 248 KB 214 2025-11-02 13:44:55

Tests(1/1):


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


测评信息: