Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
37716 | teacher_lu | 判断闰年 | C++ | Compile Error | 0 MS | 0 KB | 182 | 2024-01-22 19:38:43 |
#include <bits/stdc++.h> using namesapce std; int main(){ int x; cin >> x; if(x%400==0 or (x%4==0 and x%100!=0)) cout << "Y"; else cout << "N"; return 0; }