Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5596 | 邱一涵 | 08判断是否为闰年 | C++ | Wrong Answer | 0 MS | 260 KB | 358 | 2024-11-30 20:09:29 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int year; cin>>year; if (year%400==0){ if(year%100==0){ cout<<year<<"yes"; } else { cout<<year<<"no"; } } return 0; }
------Input------
2175
------Answer-----
2175 No
------Your output-----