Files
python/LuoGu/RuMen/P5711.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

12 lines
215 B
C++

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