| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147771 | 徐景一 | 08判断是否为闰年 | C++ | Accepted | 0 MS | 276 KB | 260 | 2026-02-07 15:43:37 |
#include <iostream> using namespace std; int main(){ int t; cin>>t; if((t%4==0 && t%100!=0)||(t%100==0 && t%400==0)){ cout<<t<<" Yes"<<endl; }else{ cout<<t<<" No"<<endl; } return 0; }