Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78230 冯诚阳 C语言5.5 C++ Accepted 0 MS 264 KB 263 2024-06-16 18:06:09

Tests(1/1):


Code:

#include<iostream> #include<cstring> #include<cstdio> using namespace std; 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; }