| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144727 | 8 | 08有几个闰年 | C++ | Wrong Answer | 1 MS | 268 KB | 308 | 2026-01-24 15:58:33 |
#include<iostream> using namespace std; int main(){ int n; int a=0; int t=3; while(t){ cin>>n; if(n%400==0||(n%4==0&&n%100!=0)){ cout<<"Yes"<<endl; int a=a+1; } else{ cout<<"No"<<endl; } t--; } return 0; }
------Input------
3869 2375 2809
------Answer-----
0
------Your output-----
No No No