Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
308840 陈信宇 [在线测评解答教程] 闰年 C++ 解答错误 0 1 MS 200 KB 246 2025-02-06 19:41:43

Tests(0/1):


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


测评信息: