Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
315577 | 徐梓豪 | 【C1-8】判断闰年 | C++ | 通过 | 100 | 1 MS | 244 KB | 177 | 2025-03-30 16:28:15 |
#include<iostream> using namespace std; int main(){ int n; cin>>n; if (n%4==0 and n%100!=0 || n%400==0) cout<<"yes"; else cout<<"no"; return 0; }