Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
119578 | 周泽洋 | 08判断是否为闰年 | C++ | Wrong Answer | 1 MS | 268 KB | 221 | 2025-05-17 19:10:59 |
#include<iostream> #include<cmath> using namespace std; int main(){ int c; cin>>c; if(c%400==0){ if(c%4==0) cout<<c<<"yes"; }else{ cout<<c<<"no"; } }
------Input------
3264
------Answer-----
3264 Yes
------Your output-----
3264no