Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
3945 | 彭梓航 | 08判断是否为闰年 | C++ | Wrong Answer | 0 MS | 264 KB | 217 | 2024-07-19 16:19:06 |
#include<iostream> using namespace std; int main(){ int y; cin>>y; if(y%400==0||y%100!=0&&y%4==0){ cout<<"YES"<<endl; } else{ cout<<"NO"<<endl; } return 0; }
------Input------
2175
------Answer-----
2175 No
------Your output-----
NO