8 条题解
-
512317姚玉杨 (12317姚玉杨) LV 7 @ 2021-12-29 19:11:02
#include<iostream> #include<cmath> using namespace std; int main() { int year; cin>>year; if(year%4==0&&year%100!=0||year%400==0) { cout<<"YES"; } else cout<<"NO"; return 0; }
-
12024-07-16 20:31:40@
#include<iostream>
using namespace std;
int main()
{
int x;
cin>>x;
if (x%4==0 && x%100!=0 || x%400==0)
cout<<"YES";
else
cout<<"NO";
return 0;
} -
12023-05-11 23:48:33@
#include<bits/stdc++.h>
using namespace std;
int main()
{
int y;
cin>>y;
if(y%4==0&&y%100!=0||y%400==0)
cout<<"YES";
else
cout<<"NO";
return 0;
} -
02021-11-04 11:36:15@
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int y;
cin>>y;
if(y%400==0||y%4==0&&y%100!=0)
cout<<"YES"<<endl;
else
cout<<"NO"<<endl;
return 0;
} -
02021-10-18 09:56:32@
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int y;
cin>>y;
if(y%4==0&&y%100!=0||y%400==0)
cout<<"YES"<<endl;
else
cout<<"NO";
return 0;
}
@水宇辰 别抄 -
-12021-12-22 10:40:14@
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int x;
cin>>x;
if(x%4==0)
if(x%100==0)
if(x%400==0)
cout<<"YES";
else
cout<<"NO";
else
cout<<"YES";
else
cout<<"NO";return 0;
} -
-12021-11-16 10:35:57@
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int y;
cin>>y;
if(y%4==0&&y%100!=0||y%400==0)
cout<<"YES"<<endl;
else
cout<<"NO";
return 0;
} -
-22024-07-14 11:48:37@
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int year;
cin>>year;
if(year%4==0&&year%100!=0||year%400==0)
{
cout<<"YES";
}
else cout<<"NO";
return 0;
}
- 1
信息
- ID
- 1001
- 难度
- 7
- 分类
- (无)
- 标签
- 递交数
- 1430
- 已通过
- 319
- 通过率
- 22%
- 被复制
- 12
- 上传者