Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
48321 张瑞涵 C语言5.5 C++ Accepted 4 MS 272 KB 196 2023-05-26 12:49:46

Tests(1/1):


Code:

#include<iostream> using namespace std; int main(){ int n; cin>>n; if(n%4==0&&n%100!=0||n%400==0){ cout<<"leap year"<<endl; }else{ cout<<"not leap year"<<endl; } return 0; }