| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 123622 | 张唯一 | 判断闰年I | C++ | Wrong Answer | 0 MS | 268 KB | 269 | 2025-07-07 19:23:57 |
#include<iostream> using namespace std; int main() { int a; cin>>a; if(a%400==0) { cout<<"yes."; } else { if(a%100==0) { cout<<"no."; } else if(a%4==0) { cout<<"yes."; } else { cout<<"no."; } } return 0; }
------Input------
2012
------Answer-----
leap year
------Your output-----
yes.