| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145515 | 范照赫 | 08判断是否为闰年 | C++ | Accepted | 0 MS | 276 KB | 333 | 2026-01-25 15:52:18 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<bits/stdc++.h> using namespace std; int main(){ int year; cin>>year; if((year%4==0&&year%100!=0)||year%400==0){ cout<<year<<" Yes"<<endl; }else{ cout<<year<<" No"<<endl; } return 0; }