Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
11758 徐一喆 C语言5.5 C++ Accepted 1 MS 720 KB 207 2021-05-17 16:33:00

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int sum=0; cin>>sum; if(sum%400==0||(sum%4==0&&sum%100!=0)) cout<<"leap year"<<endl; else cout<<"not leap year"<<endl; return 0; }