Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
39410 | fuhaoze | 判断闰年 | C++ | Accepted | 0 MS | 256 KB | 155 | 2024-02-01 15:13:00 |
#include<iostream> using namespace std; int main(){ int n; cin>>n; if(n%400==0||n%4==0&&n%100!=0){ cout<<"Y"; } else cout<<"N"; return 0; }