| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 121602 | 周泽洋 | 08有几个闰年 | C++ | Wrong Answer | 1 MS | 276 KB | 331 | 2025-06-07 17:45:08 |
#include<iostream> #include<cstdio> using namespace std; int main(){ int x,y,z,a; cin>>x>>y>>z; if(((x%4==0)&&(x%100!=0))||(x%400==0)){ a=a+1; } if(((y%4==0)&&(y%100!=0))||(y%400==0)){ a=a+1; } if(((z%4==0)&&(z%100!=0))||(z%400==0)){ a=a+1; } cout<<a; }
------Input------
3869 2375 2809
------Answer-----
0
------Your output-----
4195064