26 条题解
-
-3
#include <stdio.h> #include <iostream> #include <math.h> #include <iomanip> using namespace std; #define LL Long Long const int N=1e5+10; const int INF=0x3f3f3f3f; int main() { int n; cin >>n; if((n%4==0 && n%100 !=0)||(n%400==0)) { cout <<"Y"; } else { cout<<"N"; } }
信息
- ID
- 866
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 5
- 标签
- 递交数
- 1486
- 已通过
- 565
- 上传者