| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 70117 | sh25_zhangzh | [在线测评解答教程] 闰年 | C++ | Accepted | 0 MS | 256 KB | 368 | 2025-10-17 14:56:36 |
#include<iostream> using namespace std; int main() { int t, n; scanf("%d", &t); while (t--) { scanf("%d", &n); if(n%4==0) { if(n%100==0) { if(n%400==0) { printf("Yes\n"); } else { printf("No\n"); } } else { printf("Yes\n"); } } else { printf("No\n"); } } }