Run ID:3117

提交时间:2020-12-02 20:36:14

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