| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 129937 | 胡德滔 | 判断闰年 | C++ | Accepted | 100 | 0 MS | 252 KB | 187 | 2024-01-27 14:37:33 |
#include <iostream> using namespace std; int main() { int a; cin>>a; if(a%4==0&&a%100!=0||a%4==0&&a%400==0) { cout<<"Y"; } else cout<<"N"; return 0; }