Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
114537 蔡胤泽 08判断是否为闰年 C Accepted 1 MS 200 KB 214 2025-03-22 15:23:43

Tests(11/11):


Code:

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