Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98857 吴梓玄 [在线测评解答教程] 闰年 C Accepted 0 MS 200 KB 271 2024-11-23 16:33:26

Tests(11/11):


Code:

#include <stdio.h> int main() { int t; scanf("%d",&t); for(int i=0;i<t;i++){ int a; scanf("%d",&a); if (a%4==0 && a%100 != 0 || a%400==0){ printf("Yes\n"); } else{ printf("No\n"); } } return 0; }