| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 129916 | 冯思诚 | 判断闰年 | C++ | Accepted | 100 | 0 MS | 244 KB | 177 | 2024-01-27 14:33:56 |
#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; }