| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68906 | 张恒杰 | 判断闰年I | C++ | Output Limit Exceeded | 3 MS | 268 KB | 248 | 2024-03-27 21:53:13 |
#include<bits/stdc++.h> using namespace std; int main(){ for(int i=2000;i<=2500;i++) { cin>>i; if(i%4==0&&i%100!=0||i%400==0) { cout<<"leap year"<<endl; } else { cout<<"not leap year"<<endl; } } return 0; }