Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
4515 HUMPAomg 判断闰年I C++ Accepted 0 MS 260 KB 225 2024-08-20 22:30:01

Tests(1/1):


Code:

#include <bits/stdc++.h> using namespace std; long long c,a1,a2,s,t,n,a,b; double d; int main(){ cin>>n; if(n%4==0 and n%100!=0 or n%400==0){ cout<<"leap year"; }else{ cout<<"not leap year"; } return 0; }