Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
12302 | 杨振航 | C语言5.5 | C++ | Accepted | 1 MS | 720 KB | 217 | 2021-05-20 16:07:48 |
#include <bits/stdc++.h> using namespace std; int main() { int c; cin>>c; if(c%4==0&&c%100!=0||c%400==0) cout<<"leap year"<<endl; else cout<<"not leap year"<<endl; return 0; }