| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 86922 | 张梓洋 | [在线测评解答教程] 闰年 | C++ | Wrong Answer | 0 MS | 276 KB | 211 | 2024-07-29 21:36:17 |
#include<bits/stdc++.h> using namespace std; int main(){ int year; cin>>year; if((year%400==0)||(year%4==0&&year%100!=0)){ cout<<"是闰年"; }else{ cout<<"不是闰年"; } return 0; }
------Input------
2 2023 3059
------Answer-----
No No
------Your output-----
不是闰年