Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
42953 | yuzhengxun | 判断闰年 | C++ | 通过 | 1 MS | 240 KB | 164 | 2024-03-03 19:51:34 |
#include<iostream> using namespace std; int main() { int n; cin>>n; if(n%4==0||n%100==0||n%400==0){ cout<<"Y"; }else{ cout<<"N"; } return 0; }