Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98866 吴梓玄 判断闰年I C Accepted 1 MS 204 KB 209 2024-11-23 16:46:00

Tests(1/1):


Code:

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